Add liveness and readiness probes values for mongodb helm chart to fix pod startup
Change-Id: I236f3d7b4640311ee935b34a1fb123a2b0c89ece
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/installers/helm/values/mongodb-values.yaml b/installers/helm/values/mongodb-values.yaml
index 41ef151..e54355b 100644
--- a/installers/helm/values/mongodb-values.yaml
+++ b/installers/helm/values/mongodb-values.yaml
@@ -16,4 +16,17 @@
nameOverride: "mongodb-k8s"
auth:
enabled: false
-architecture: "replicaset"
\ No newline at end of file
+architecture: "replicaset"
+livenessProbe:
+ initialDelaySeconds: 60
+ periodSeconds: 30
+ timeoutSeconds: 10
+ failureThreshold: 10
+ successThreshold: 1
+readinessProbe:
+ initialDelaySeconds: 60
+ periodSeconds: 30
+ timeoutSeconds: 10
+ failureThreshold: 10
+ successThreshold: 1
+