[MARIADB][SO] Connect MariaDB Galera via master node
[oom.git] / kubernetes / dmaap / components / dmaap-dr-prov / values.yaml
index 6af498d..0ec3176 100644 (file)
@@ -17,6 +17,8 @@
 #################################################################
 global:
   mariadbGalera: &mariadbGalera
+    # flag to enable the DB creation via mariadb-operator
+    useOperator: true
     #This flag allows DMAAP-DR to instantiate its own mariadb-galera cluster
     localCluster: false
     service: mariadb-galera
@@ -38,7 +40,7 @@ secrets:
 # Application configuration defaults.
 #################################################################
 # application image
-image: onap/dmaap/datarouter-prov:2.1.12
+image: onap/dmaap/datarouter-prov:2.1.15
 pullPolicy: Always
 
 # default number of instances
@@ -93,6 +95,9 @@ readiness:
 mariadb-galera:
   nameOverride: &dbServer dmaap-dr-db
   replicaCount: 1
+  mariadbOperator:
+    galera:
+      enabled: false
   db:
     name: &mysqlDbName datarouter
     user: datarouter
@@ -112,6 +117,8 @@ mariadb-init:
     userCredentialsExternalSecret: *dbUserSecretName
     mysqlDatabase: *mysqlDbName
   nameOverride: dmaap-dr-mariadb-init
+  serviceAccount:
+    nameOverride: dmaap-dr-mariadb-init
 
 # Resource Limit flavor -By Default using small
 flavor: small
@@ -120,17 +127,17 @@ flavor: small
 resources:
   small:
     limits:
-      cpu: 2000m
-      memory: 4Gi
+      cpu: 1
+      memory: 1Gi
     requests:
-      cpu: 500m
+      cpu: 0.5
       memory: 1Gi
   large:
     limits:
-      cpu: 4000m
-      memory: 8Gi
+      cpu: 2
+      memory: 2Gi
     requests:
-      cpu: 1000m
+      cpu: 1
       memory: 2Gi
   unlimited: {}