diff --git a/helm/diffcalc-api/values.yaml b/helm/diffcalc-api/values.yaml index 3403bb1..fb28478 100644 --- a/helm/diffcalc-api/values.yaml +++ b/helm/diffcalc-api/values.yaml @@ -103,6 +103,34 @@ mongodb: persistence: existingClaim: diffcalc-mongo-volume createNew: false + livenessProbe: + enabled: false + readinessProbe: + enabled: false + customLivenessProbe: + exec: + command: + - mongo + - --disableImplicitSessions + - --eval + - "db.adminCommand('ping')" + initialDelaySeconds: 30 + periodSeconds: 10 + timeoutSeconds: 5 + successThreshold: 1 + failureThreshold: 6 + customReadinessProbe: + exec: + command: + - mongo + - --disableImplicitSessions + - --eval + - "db.adminCommand('ping')" + initialDelaySeconds: 30 + periodSeconds: 10 + timeoutSeconds: 5 + successThreshold: 1 + failureThreshold: 6 logging: level: "WARN"