[COMMON][READINESS] Update readiness image and use service feature
[oom.git] / kubernetes / common / mariadb-init / values.yaml
index 9a4b4b3..57dfb40 100644 (file)
@@ -126,17 +126,17 @@ resources:
   small:
     limits:
       cpu: "100m"
-      memory: "0.5Gi"
+      memory: "500Mi"
     requests:
       cpu: "10m"
-      memory: "0.01Gi"
+      memory: "10Mi"
   large:
     limits:
       cpu: "200m"
-      memory: "0.5Gi"
+      memory: "500Mi"
     requests:
       cpu: "20m"
-      memory: "0.02Gi"
+      memory: "20Mi"
   unlimited: {}
 
 #Pods Service Account
@@ -148,3 +148,8 @@ serviceAccount:
 wait_for_job_container:
   containers:
     - '{{ include "common.name" . }}'
+
+readinessCheck:
+  wait_for:
+    services:
+    - '{{ include "common.mariadbService" . }}'