From 6297c1d6864320ae42a8259869b4658775d974d6 Mon Sep 17 00:00:00 2001 From: Hans Erik Heggem Date: Mon, 17 Jun 2024 22:44:28 +0200 Subject: [PATCH] using a separate value for internal port, due to backwards compatibility --- charts/keycloakx/values.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/charts/keycloakx/values.yaml b/charts/keycloakx/values.yaml index bf3a4ae3..65a4eb4d 100644 --- a/charts/keycloakx/values.yaml +++ b/charts/keycloakx/values.yaml @@ -166,7 +166,7 @@ podAnnotations: {} livenessProbe: | httpGet: path: '{{ tpl .Values.http.relativePath $ | trimSuffix "/" }}/health/live' - port: http-internal + port: '{{ .Values.http.internalPort }}' initialDelaySeconds: 0 timeoutSeconds: 5 @@ -174,7 +174,7 @@ livenessProbe: | readinessProbe: | httpGet: path: '{{ tpl .Values.http.relativePath $ | trimSuffix "/" }}/health/ready' - port: http-internal + port: '{{ .Values.http.internalPort }}' initialDelaySeconds: 10 timeoutSeconds: 1 @@ -182,7 +182,7 @@ readinessProbe: | startupProbe: | httpGet: path: '{{ tpl .Values.http.relativePath $ | trimSuffix "/" }}/health' - port: http-internal + port: '{{ .Values.http.internalPort }}' initialDelaySeconds: 15 timeoutSeconds: 1 failureThreshold: 60 @@ -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 @@ -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 @@ -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