Skip to content

Commit

Permalink
FIX: Probes internalPort requires HTTPS scheme
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
TheBigLee committed Jul 30, 2024
1 parent 5422bea commit dbbdc84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/keycloakx/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ livenessProbe: |
httpGet:
path: '{{ tpl .Values.http.relativePath $ | trimSuffix "/" }}/health/live'
port: '{{ .Values.http.internalPort }}'
scheme: HTTPS
initialDelaySeconds: 0
timeoutSeconds: 5
Expand All @@ -175,6 +176,7 @@ readinessProbe: |
httpGet:
path: '{{ tpl .Values.http.relativePath $ | trimSuffix "/" }}/health/ready'
port: '{{ .Values.http.internalPort }}'
scheme: HTTPS
initialDelaySeconds: 10
timeoutSeconds: 1
Expand All @@ -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
Expand Down

0 comments on commit dbbdc84

Please sign in to comment.