Skip to content

Commit

Permalink
using a separate value for internal port, due to backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
hansehe committed Jun 21, 2024
1 parent f953bd7 commit 6297c1d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions charts/keycloakx/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,23 +166,23 @@ podAnnotations: {}
livenessProbe: |
httpGet:
path: '{{ tpl .Values.http.relativePath $ | trimSuffix "/" }}/health/live'
port: http-internal
port: '{{ .Values.http.internalPort }}'
initialDelaySeconds: 0
timeoutSeconds: 5
# Readiness probe configuration
readinessProbe: |
httpGet:
path: '{{ tpl .Values.http.relativePath $ | trimSuffix "/" }}/health/ready'
port: http-internal
port: '{{ .Values.http.internalPort }}'
initialDelaySeconds: 10
timeoutSeconds: 1
# Startup probe configuration
startupProbe: |
httpGet:
path: '{{ tpl .Values.http.relativePath $ | trimSuffix "/" }}/health'
port: http-internal
port: '{{ .Values.http.internalPort }}'
initialDelaySeconds: 15
timeoutSeconds: 1
failureThreshold: 60
Expand Down Expand Up @@ -417,6 +417,7 @@ health:
http:
# For backwards compatibility reasons we set this to the value used by previous Keycloak versions.
relativePath: "/auth"
internalPort: http-internal

serviceMonitor:
# If `true`, a ServiceMonitor resource for the prometheus-operator is created
Expand All @@ -436,7 +437,7 @@ serviceMonitor:
# The path at which metrics are served
path: '{{ tpl .Values.http.relativePath $ | trimSuffix "/" }}/metrics'
# The Service port at which metrics are served
port: http-internal
port: '{{ .Values.http.internalPort }}'

extraServiceMonitor:
# If `true`, a ServiceMonitor resource for the prometheus-operator is created
Expand All @@ -456,7 +457,7 @@ extraServiceMonitor:
# The path at which metrics are served
path: '{{ tpl .Values.http.relativePath $ | trimSuffix "/" }}/metrics'
# The Service port at which metrics are served
port: http-internal
port: '{{ .Values.http.internalPort }}'

prometheusRule:
# If `true`, a PrometheusRule resource for the prometheus-operator is created
Expand Down

0 comments on commit 6297c1d

Please sign in to comment.