diff --git a/stable/opencart/templates/deployment.yaml b/stable/opencart/templates/deployment.yaml index bd68d92160..853c306d3c 100644 --- a/stable/opencart/templates/deployment.yaml +++ b/stable/opencart/templates/deployment.yaml @@ -59,16 +59,24 @@ spec: containerPort: 443 livenessProbe: httpGet: - path: / + path: /admin/ port: http + httpHeaders: + - name: Host + value: {{ include "host" . | quote }} initialDelaySeconds: 120 timeoutSeconds: 5 + failureThreshold: 6 readinessProbe: httpGet: - path: / + path: /admin/ port: http - initialDelaySeconds: 5 - timeoutSeconds: 1 + httpHeaders: + - name: Host + value: {{ include "host" . | quote }} + initialDelaySeconds: 30 + timeoutSeconds: 3 + periodSeconds: 5 resources: {{ toYaml .Values.resources | indent 10 }} volumeMounts: