[COMMON] Harmonize resource settings
[oom.git] / kubernetes / so / components / so-oof-adapter / values.yaml
index 3ce43c6..d1b795d 100755 (executable)
@@ -21,7 +21,9 @@ global:
   persistence:
     mountPath: /dockerdata-nfs
   mariadbGalera:
-    service: mariadb-galera-primary
+    # flag to enable the DB creation via mariadb-operator
+    useOperator: true
+    service: mariadb-galera
     servicePort: '3306'
 
 # Secrets metaconfig
@@ -68,6 +70,15 @@ secrets:
 image: onap/so/so-oof-adapter:1.8.3
 pullPolicy: Always
 
+# Local mariadb galera instance default name
+mariadb-galera:
+  nameOverride: so-mariadb-galera
+  service:
+    internalPort: 3306
+  mariadbOperator:
+    galera:
+      enabled: false
+
 mso:
   msoKey: 07a7159d3bf51a0e53be7a8f89699be7
   oof:
@@ -102,18 +113,18 @@ flavor: small
 resources:
   small:
     limits:
-      memory: 1Gi
-      cpu: 1
+      cpu: "1"
+      memory: "1Gi"
     requests:
-      memory: 1Gi
-      cpu: 0.5
+      cpu: "0.5"
+      memory: "1Gi"
   large:
     limits:
-      memory: 2Gi
-      cpu: 2
+      cpu: "2"
+      memory: "2Gi"
     requests:
-      memory: 2Gi
-      cpu: 1
+      cpu: "1"
+      memory: "2Gi"
   unlimited: {}
 livenessProbe:
   path: /manage/health