From 408268a94494274b37cef6f0f7ef58ae1a9590ba Mon Sep 17 00:00:00 2001 From: Nithin Shekar Kuruba Date: Fri, 18 Aug 2023 15:51:41 -0700 Subject: [PATCH] fix: updates to handle clustering error --- charts/keycloak/Chart.yaml | 4 ++-- charts/keycloak/templates/service-ping.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/keycloak/Chart.yaml b/charts/keycloak/Chart.yaml index e765937..a510d4f 100644 --- a/charts/keycloak/Chart.yaml +++ b/charts/keycloak/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: sso-keycloak -version: 1.14.3 -appVersion: 7.6.5-build.29 +version: 1.14.4 +appVersion: 7.6.25-build.1 description: Open Source Identity and Access Management For Modern Applications and Services dependencies: - name: patroni diff --git a/charts/keycloak/templates/service-ping.yaml b/charts/keycloak/templates/service-ping.yaml index 1a79ad0..a03ef14 100644 --- a/charts/keycloak/templates/service-ping.yaml +++ b/charts/keycloak/templates/service-ping.yaml @@ -6,7 +6,6 @@ metadata: labels: {{ include "sso-keycloak.labels" . | nindent 4 }} annotations: description: "The JGroups ping port for clustering." - service.alpha.kubernetes.io/tolerate-unready-endpoints: "true" {{- if .Values.tls.enabled }} # see https://miminar.fedorapeople.org/_preview/openshift-enterprise/registry-redeploy/dev_guide/secrets.html#service-serving-certificate-secrets service.alpha.openshift.io/serving-cert-secret-name: {{ include "sso-keycloak.fullname" . }}-x509-jgroups @@ -19,4 +18,5 @@ spec: targetPort: ping protocol: TCP selector: {{ include "sso-keycloak.selectorLabels" . | nindent 4 }} + publishNotReadyAddresses: true {{- end }}