[bitnami/keycloak] feat: use official Keycloak health endpoints for probes (#36434)

* [bitnami/keycloak] feat: use official Keycloak health endpoints for probes

Signed-off-by: aravind <araviku04@gmail.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

* [bitnami/keycloak] Use management port for health probes and enable KC_HEALTH_ENABLED

Signed-off-by: aravind <araviku04@gmail.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>

---------

Signed-off-by: aravind <araviku04@gmail.com>
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
Co-authored-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
Aravind K
2026-02-19 03:02:24 -06:00
committed by GitHub
parent a9905eabb0
commit 7c0148db53
5 changed files with 23 additions and 13 deletions

View File

@@ -1,8 +1,15 @@
# Changelog
## 25.3.1 (2026-02-10)
* [bitnami/keycloak] feat: use official Keycloak health endpoints for probes ([#36434](https://github.com/bitnami/charts/pull/36434))
## 25.3.0 (2025-11-11)
* [bitnami/keycloak] New param javaOptsAppendExtra to append additional java opts ([#36350](https://github.com/bitnami/charts/pull/36350))
* [bitnami/*][TNZ-62332] Modify charts' READMEs title (#36372) ([2012e46](https://github.com/bitnami/charts/commit/2012e46699f555bb1e10134691031975bb5ca50b)), closes [#36372](https://github.com/bitnami/charts/issues/36372)
* [bitnami/keycloak] New param javaOptsAppendExtra to append additional java opts (#36350) ([b1afd5e](https://github.com/bitnami/charts/commit/b1afd5e96c71bbf2fa5ee10d23ca0d7d958fe3a9)), closes [#36350](https://github.com/bitnami/charts/issues/36350)
* Change wording in Chart's READMEs (#36379) ([a4ef0a6](https://github.com/bitnami/charts/commit/a4ef0a63877fcf32895869ceef0916c15a4718e5)), closes [#36379](https://github.com/bitnami/charts/issues/36379)
* Remove TAC sentence present in some READMEs (#36381) ([e07d331](https://github.com/bitnami/charts/commit/e07d3319b61f49ddf6f431da3ed7ec0e0be3d5d0)), closes [#36381](https://github.com/bitnami/charts/issues/36381)
## <small>25.2.5 (2025-10-08)</small>

View File

@@ -1,9 +1,9 @@
dependencies:
- name: postgresql
repository: oci://registry-1.docker.io/bitnamicharts
version: 16.7.26
version: 16.7.27
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
version: 2.31.4
digest: sha256:d92824e04bd8b3d71ee395ef556c8476badbf15ee7fca655e503933dc90df3eb
generated: "2025-08-20T12:56:42.787734637Z"
digest: sha256:7c5f8e1e8d3c15b39d56f82d90eded44e3d1b93564ffba3c0f738e8b1c164339
generated: "2026-01-12T20:54:54.251614479-06:00"

View File

@@ -35,4 +35,4 @@ maintainers:
name: keycloak
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/keycloak
version: 25.3.0
version: 25.3.1

View File

@@ -39,6 +39,7 @@ data:
KC_HOSTNAME: {{ printf "%s://%s%s" (ternary "https" "http" (or .Values.ingress.tls (not (empty .Values.proxyHeaders)))) (tpl .Values.ingress.hostname .) $path | quote }}
{{- end }}
{{- end }}
KC_HEALTH_ENABLED: "true"
KC_METRICS_ENABLED: {{ ternary "true" "false" .Values.metrics.enabled | quote }}
KC_DB_URL: {{ printf "jdbc:postgresql://%s:%d/%s?currentSchema=%s%s" (include "keycloak.database.host" .) (include "keycloak.database.port" . | int) (include "keycloak.database.name" .) (include "keycloak.database.schema" .) (include "keycloak.database.extraParams" .) | quote }}
KC_DB_SCHEMA: {{ include "keycloak.database.schema" . | quote }}

View File

@@ -202,25 +202,27 @@ spec:
{{- else if .Values.startupProbe.enabled }}
startupProbe: {{- omit .Values.startupProbe "enabled" | toYaml | nindent 12 }}
httpGet:
path: {{ .Values.httpRelativePath }}
port: {{ ternary "http" "https" (or .Values.httpEnabled (not .Values.tls.enabled)) }}
scheme: {{ ternary "HTTP" "HTTPS" (or .Values.httpEnabled (not .Values.tls.enabled)) }}
path: /health/started
port: {{ .Values.containerPorts.management }}
scheme: HTTP
{{- end }}
{{- if .Values.customLivenessProbe }}
livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customLivenessProbe "context" .) | nindent 12 }}
{{- else if .Values.livenessProbe.enabled }}
livenessProbe: {{- omit .Values.livenessProbe "enabled" | toYaml | nindent 12 }}
tcpSocket:
port: {{ ternary "http" "https" (or .Values.httpEnabled (not .Values.tls.enabled)) }}
httpGet:
path: /health/live
port: {{ .Values.containerPorts.management }}
scheme: HTTP
{{- end }}
{{- if .Values.customReadinessProbe }}
readinessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customReadinessProbe "context" .) | nindent 12 }}
{{- else if .Values.readinessProbe.enabled }}
readinessProbe: {{- omit .Values.readinessProbe "enabled" | toYaml | nindent 12 }}
httpGet:
path: {{ trimSuffix "/" .Values.httpRelativePath }}/realms/{{ .Values.adminRealm | default "master" }}
port: {{ ternary "http" "https" (or .Values.httpEnabled (not .Values.tls.enabled)) }}
scheme: {{ ternary "HTTP" "HTTPS" (or .Values.httpEnabled (not .Values.tls.enabled)) }}
path: /health/ready
port: {{ .Values.containerPorts.management }}
scheme: HTTP
{{- end }}
{{- end }}
volumeMounts: