[MARIADB][SO] Connect MariaDB Galera via master node
[oom.git] / kubernetes / modeling / components / modeling-etsicatalog / values.yaml
index 884c6da..ddd82c9 100644 (file)
@@ -22,6 +22,8 @@ global:
     mountPath: /dockerdata-nfs
 
   mariadbGalera:
+    # flag to enable the DB creation via mariadb-operator
+    useOperator: true
     #This flag allows SO to instantiate its own mariadb-galera cluster
     #When changing it to "true", also set "globalCluster: false"
     #as the dependency check will not work otherwise (Chart.yaml)
@@ -57,6 +59,7 @@ secrets:
 
 mariadb-galera:
   db:
+    user: &dbUser etsicatalog
     externalSecret: *dbSecretName
     name: &mysqlDbName etsicatalog
   nameOverride: &modeling-db modeling-db
@@ -106,7 +109,7 @@ config:
 
   #application configuration user password about mariadb
   db:
-    userName: etsicatalog
+    userName: *dbUser
     # userPassword: password
     # userCredentialsExternalSecret: some-secret