From 2ffbd32d46482b844bc651d491747cd5c5ba07e2 Mon Sep 17 00:00:00 2001 From: Michael Dop Date: Fri, 7 Dec 2018 12:45:50 -0500 Subject: [PATCH] [stable/keycloak] use realm url for probe instead of static welcome page (#9042) * [stable/keycloak] use realm url for probe instead of static welcome page This will result in keycloak actually performing some action (e.g. hitting the database) versus just serving a static webpage for liveliness and readiness probes Signed-off-by: Michael Dop * Use the basepath for liveliness Signed-off-by: Michael Dop --- stable/keycloak/Chart.yaml | 2 +- stable/keycloak/templates/statefulset.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/keycloak/Chart.yaml b/stable/keycloak/Chart.yaml index 45e969faea..9784dedf9d 100644 --- a/stable/keycloak/Chart.yaml +++ b/stable/keycloak/Chart.yaml @@ -1,5 +1,5 @@ name: keycloak -version: 4.0.4 +version: 4.0.5 appVersion: 4.5.0.Final description: Open Source Identity and Access Management For Modern Applications and Services keywords: diff --git a/stable/keycloak/templates/statefulset.yaml b/stable/keycloak/templates/statefulset.yaml index 9d061cf4fc..ca8609f2c2 100644 --- a/stable/keycloak/templates/statefulset.yaml +++ b/stable/keycloak/templates/statefulset.yaml @@ -100,7 +100,7 @@ spec: timeoutSeconds: {{ .Values.keycloak.livenessProbe.timeoutSeconds }} readinessProbe: httpGet: - path: /{{ .Values.keycloak.basepath }}/ + path: /{{ .Values.keycloak.basepath }}/realms/master port: http initialDelaySeconds: {{ .Values.keycloak.readinessProbe.initialDelaySeconds }} timeoutSeconds: {{ .Values.keycloak.readinessProbe.timeoutSeconds }}