From 6dc58daebd5b07e84ea47108104803889f689f69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20B=C3=A4ume?= <julian.baeume@open-xchange.com> Date: Fri, 29 Oct 2021 17:00:41 +0200 Subject: [PATCH] use correct endpoinst for live and readiness probes fixes readiness detection when using app-root different from / --- helm/core-manifest-service/templates/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/core-manifest-service/templates/deployment.yaml b/helm/core-manifest-service/templates/deployment.yaml index e29cb76..513aa09 100644 --- a/helm/core-manifest-service/templates/deployment.yaml +++ b/helm/core-manifest-service/templates/deployment.yaml @@ -34,14 +34,14 @@ spec: {{- if .Values.probe.liveness.enabled }} livenessProbe: httpGet: - path: / + path: {{ .Values.appRoot }}healthy port: http {{- omit .Values.probe.liveness "enabled" | toYaml | nindent 12 }} {{- end }} {{- if .Values.probe.readiness.enabled }} readinessProbe: httpGet: - path: / + path: {{ .Values.appRoot }}ready port: http {{- omit .Values.probe.readiness "enabled" | toYaml | nindent 12 }} {{- end }} -- GitLab