[MARIADB][SO] Connect MariaDB Galera via master node
[oom.git] / kubernetes / sdnc / values.yaml
index 2c6abdd..328b5ad 100644 (file)
@@ -24,10 +24,12 @@ global:
     mountPath: /dockerdata-nfs
   centralizedLoggingEnabled: true
   mariadbGalera:
+    # flag to enable the DB creation via mariadb-operator
+    useOperator: true
     #This flag allows SO to instantiate its own mariadb-galera cluster
     #If shared instance is used, this chart assumes that DB already exists
     localCluster: false
-    service: &mariadbService mariadb-galera-primary
+    service: &mariadbService mariadb-galera
     internalPort: 3306
     nameOverride: &mariadbName mariadb-galera
 
@@ -416,6 +418,7 @@ mariadb-galera: &mariadbGalera
   rootUser:
     externalSecret: *rootDbSecret
   db:
+    name: *sdncDbName
     user: *dbUser
     externalSecret: *dbSecretName
   service:
@@ -657,14 +660,14 @@ flavor: small
 resources:
   small:
     limits:
-      cpu: 999
+      cpu: 2
       memory: 4.7Gi
     requests:
       cpu: 1
       memory: 4.7Gi
   large:
     limits:
-      cpu: 999
+      cpu: 4
       memory: 9.4Gi
     requests:
       cpu: 2