From dbbdc84eccc4e34b2d947220fdec2b804bd57854 Mon Sep 17 00:00:00 2001 From: Nicolas Bigler Date: Tue, 30 Jul 2024 11:09:43 +0200 Subject: [PATCH] FIX: Probes internalPort requires HTTPS scheme The new health enpoints used by the three probes (liveness, readiness and startup) are now served over HTTPS. However, the default scheme for the HTTP probes is HTTP. In order for the probes to work correctly, the scheme needs to be set to HTTPS. Signed-off-by: Nicolas Bigler --- charts/keycloakx/values.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/keycloakx/values.yaml b/charts/keycloakx/values.yaml index 4f704ced..62679c1d 100644 --- a/charts/keycloakx/values.yaml +++ b/charts/keycloakx/values.yaml @@ -167,6 +167,7 @@ livenessProbe: | httpGet: path: '{{ tpl .Values.http.relativePath $ | trimSuffix "/" }}/health/live' port: '{{ .Values.http.internalPort }}' + scheme: HTTPS initialDelaySeconds: 0 timeoutSeconds: 5 @@ -175,6 +176,7 @@ readinessProbe: | httpGet: path: '{{ tpl .Values.http.relativePath $ | trimSuffix "/" }}/health/ready' port: '{{ .Values.http.internalPort }}' + scheme: HTTPS initialDelaySeconds: 10 timeoutSeconds: 1 @@ -183,6 +185,7 @@ startupProbe: | httpGet: path: '{{ tpl .Values.http.relativePath $ | trimSuffix "/" }}/health' port: '{{ .Values.http.internalPort }}' + scheme: HTTPS initialDelaySeconds: 15 timeoutSeconds: 1 failureThreshold: 60