[COMMON][READINESS] Update readiness image and use service feature
[oom.git] / kubernetes / common / mariadb-init / values.yaml
index 2d5de97..57dfb40 100644 (file)
@@ -81,6 +81,9 @@ mariadb-galera:
   service:
     internalPort: 3306
   nameOverride: mariadb-galera
+  mariadbOperator:
+    galera:
+      enabled: false
 
 config:
   userPassword: Ci@shsOd3pky1Vji
@@ -122,18 +125,18 @@ flavor: small
 resources:
   small:
     limits:
-      cpu: 100m
-      memory: 500Mi
+      cpu: "100m"
+      memory: "500Mi"
     requests:
-      cpu: 10m
-      memory: 10Mi
+      cpu: "10m"
+      memory: "10Mi"
   large:
     limits:
-      cpu: 200m
-      memory: 500Mi
+      cpu: "200m"
+      memory: "500Mi"
     requests:
-      cpu: 20m
-      memory: 20Mi
+      cpu: "20m"
+      memory: "20Mi"
   unlimited: {}
 
 #Pods Service Account
@@ -145,3 +148,8 @@ serviceAccount:
 wait_for_job_container:
   containers:
     - '{{ include "common.name" . }}'
+
+readinessCheck:
+  wait_for:
+    services:
+    - '{{ include "common.mariadbService" . }}'