From 00008b28fc0ec9b1ad46f9f9585f39de0fdc7930 Mon Sep 17 00:00:00 2001 From: Mathias Beaulieu-Duncan <52874619+singatias@users.noreply.github.com> Date: Tue, 26 Nov 2024 17:42:03 -0500 Subject: [PATCH 1/6] update env variables for deprecation messages: Environment variable 'KEYCLOAK_ADMIN' is deprecated, use 'KC_BOOTSTRAP_ADMIN_USERNAME' instead Environment variable 'KEYCLOAK_ADMIN_PASSWORD' is deprecated, use 'KC_BOOTSTRAP_ADMIN_PASSWORD' instead Bump major version Signed-off-by: Mathias Beaulieu-Duncan <52874619+singatias@users.noreply.github.com> --- bitnami/keycloak/Chart.yaml | 2 +- bitnami/keycloak/README.md | 4 ++-- bitnami/keycloak/templates/configmap-env-vars.yaml | 2 +- bitnami/keycloak/templates/statefulset.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bitnami/keycloak/Chart.yaml b/bitnami/keycloak/Chart.yaml index f3bb3052225fe7..1bafa0f3d2bdfe 100644 --- a/bitnami/keycloak/Chart.yaml +++ b/bitnami/keycloak/Chart.yaml @@ -33,4 +33,4 @@ maintainers: name: keycloak sources: - https://github.com/bitnami/charts/tree/main/bitnami/keycloak -version: 24.2.2 +version: 25.0.0 diff --git a/bitnami/keycloak/README.md b/bitnami/keycloak/README.md index c89b34e2d15f8d..bab267f854499a 100644 --- a/bitnami/keycloak/README.md +++ b/bitnami/keycloak/README.md @@ -209,11 +209,11 @@ If your ingress controller has the SSL Termination, you should set `proxy` to `e This chart provides several ways to manage passwords: -- Values passed to the chart: In this scenario, a new secret including all the passwords will be created during the chart installation. When upgrading, it is necessary to provide the secrets to the chart as shown below. Replace the KEYCLOAK_ADMIN_PASSWORD, POSTGRESQL_PASSWORD and POSTGRESQL_PVC placeholders with the correct passwords and PVC name. +- Values passed to the chart: In this scenario, a new secret including all the passwords will be created during the chart installation. When upgrading, it is necessary to provide the secrets to the chart as shown below. Replace the KC_BOOTSTRAP_ADMIN_PASSWORD, POSTGRESQL_PASSWORD and POSTGRESQL_PVC placeholders with the correct passwords and PVC name. ```console helm upgrade keycloak bitnami/keycloak \ - --set auth.adminPassword=KEYCLOAK_ADMIN_PASSWORD \ + --set auth.adminPassword=KC_BOOTSTRAP_ADMIN_PASSWORD \ --set postgresql.postgresqlPassword=POSTGRESQL_PASSWORD \ --set postgresql.persistence.existingClaim=POSTGRESQL_PVC ``` diff --git a/bitnami/keycloak/templates/configmap-env-vars.yaml b/bitnami/keycloak/templates/configmap-env-vars.yaml index 31a58658eaf516..6b43e710da4d58 100644 --- a/bitnami/keycloak/templates/configmap-env-vars.yaml +++ b/bitnami/keycloak/templates/configmap-env-vars.yaml @@ -14,7 +14,7 @@ metadata: annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }} {{- end }} data: - KEYCLOAK_ADMIN: {{ .Values.auth.adminUser | quote }} + KC_BOOTSTRAP_ADMIN_USERNAME: {{ .Values.auth.adminUser | quote }} KEYCLOAK_HTTP_PORT: {{ .Values.containerPorts.http | quote }} {{- if and .Values.proxy (empty .Values.proxyHeaders) }} KEYCLOAK_PROXY_HEADERS: {{ ternary "" "xforwarded" (eq .Values.proxy "passthrough") }} diff --git a/bitnami/keycloak/templates/statefulset.yaml b/bitnami/keycloak/templates/statefulset.yaml index b15f980ae8f07d..c507b308c1a55d 100644 --- a/bitnami/keycloak/templates/statefulset.yaml +++ b/bitnami/keycloak/templates/statefulset.yaml @@ -153,7 +153,7 @@ spec: fieldPath: metadata.namespace - name: BITNAMI_DEBUG value: {{ ternary "true" "false" .Values.image.debug | quote }} - - name: KEYCLOAK_ADMIN_PASSWORD + - name: KC_BOOTSTRAP_ADMIN_PASSWORD valueFrom: secretKeyRef: name: {{ include "keycloak.secretName" . }} From fdbf82a9e0a836bedb0fb94d82a12e0210fd4ed9 Mon Sep 17 00:00:00 2001 From: Bitnami Containers Date: Tue, 26 Nov 2024 22:48:39 +0000 Subject: [PATCH 2/6] Update CHANGELOG.md Signed-off-by: Bitnami Containers --- bitnami/keycloak/CHANGELOG.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bitnami/keycloak/CHANGELOG.md b/bitnami/keycloak/CHANGELOG.md index e79cd7fab3997c..6084e2027348aa 100644 --- a/bitnami/keycloak/CHANGELOG.md +++ b/bitnami/keycloak/CHANGELOG.md @@ -1,8 +1,13 @@ # Changelog -## 24.2.2 (2024-11-22) +## 25.0.0 (2024-11-26) -* [bitnami/keycloak] Release 24.2.2 ([#30576](https://github.com/bitnami/charts/pull/30576)) +* [bitnami/keycloak] Update KEYCLOAK_ADMIN env variables deprecation ([#30636](https://github.com/bitnami/charts/pull/30636)) + +## 24.2.2 (2024-11-22) + +* [bitnami/*] docs: fix copy-paste typos with wrong references to Airflow (#30541) ([0a225d4](https://github.com/bitnami/charts/commit/0a225d44c1969429573b4e2630068eff129b6a96)), closes [#30541](https://github.com/bitnami/charts/issues/30541) +* [bitnami/keycloak] Release 24.2.2 (#30576) ([c3f8e59](https://github.com/bitnami/charts/commit/c3f8e596428f2f546dd3479570e7d39958b16f3b)), closes [#30576](https://github.com/bitnami/charts/issues/30576) ## 24.2.1 (2024-11-19) From 6f66e19ac59cfd26d000baa954d23fab9951ff50 Mon Sep 17 00:00:00 2001 From: Bitnami Containers Date: Wed, 27 Nov 2024 07:40:23 +0000 Subject: [PATCH 3/6] Update CHANGELOG.md Signed-off-by: Bitnami Containers --- bitnami/keycloak/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitnami/keycloak/CHANGELOG.md b/bitnami/keycloak/CHANGELOG.md index 6084e2027348aa..093c75d402658b 100644 --- a/bitnami/keycloak/CHANGELOG.md +++ b/bitnami/keycloak/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 25.0.0 (2024-11-26) +## 25.0.0 (2024-11-27) * [bitnami/keycloak] Update KEYCLOAK_ADMIN env variables deprecation ([#30636](https://github.com/bitnami/charts/pull/30636)) From 40919d41ec6cafda997497b697c9d84fcaa00149 Mon Sep 17 00:00:00 2001 From: Mathias Beaulieu-Duncan <52874619+singatias@users.noreply.github.com> Date: Sat, 30 Nov 2024 00:31:01 -0500 Subject: [PATCH 4/6] Update chart version to the proper version instead of bumping to a major version Signed-off-by: Mathias Beaulieu-Duncan <52874619+singatias@users.noreply.github.com> --- bitnami/keycloak/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitnami/keycloak/Chart.yaml b/bitnami/keycloak/Chart.yaml index 1bafa0f3d2bdfe..5891355b151f28 100644 --- a/bitnami/keycloak/Chart.yaml +++ b/bitnami/keycloak/Chart.yaml @@ -33,4 +33,4 @@ maintainers: name: keycloak sources: - https://github.com/bitnami/charts/tree/main/bitnami/keycloak -version: 25.0.0 +version: 24.2.3 From e087ffb156a6b52bb3d698e04f49b59e25b3371e Mon Sep 17 00:00:00 2001 From: Bitnami Containers Date: Sat, 30 Nov 2024 05:36:09 +0000 Subject: [PATCH 5/6] Update CHANGELOG.md Signed-off-by: Bitnami Containers --- bitnami/keycloak/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitnami/keycloak/CHANGELOG.md b/bitnami/keycloak/CHANGELOG.md index 093c75d402658b..69c751b6e5c075 100644 --- a/bitnami/keycloak/CHANGELOG.md +++ b/bitnami/keycloak/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 25.0.0 (2024-11-27) +## 24.2.3 (2024-11-30) * [bitnami/keycloak] Update KEYCLOAK_ADMIN env variables deprecation ([#30636](https://github.com/bitnami/charts/pull/30636)) From 169bbf3a8bf19ab2c51fc630b324ebbb0e1caf36 Mon Sep 17 00:00:00 2001 From: Bitnami Containers Date: Fri, 20 Dec 2024 07:59:03 +0000 Subject: [PATCH 6/6] Update CHANGELOG.md Signed-off-by: Bitnami Containers --- bitnami/keycloak/CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bitnami/keycloak/CHANGELOG.md b/bitnami/keycloak/CHANGELOG.md index dd39dc1529bc00..30ad74927d9dc6 100644 --- a/bitnami/keycloak/CHANGELOG.md +++ b/bitnami/keycloak/CHANGELOG.md @@ -1,12 +1,12 @@ # Changelog -## 24.3.2 (2024-11-30) +## 24.3.2 (2024-12-20) * [bitnami/keycloak] Update KEYCLOAK_ADMIN env variables deprecation ([#30636](https://github.com/bitnami/charts/pull/30636)) -## 24.3.1 (2024-12-12) +## 24.3.1 (2024-12-16) -* [bitnami/keycloak] KEYCLOAK_HOSTNAME present even if KEYCLOAK_PROXY_HEADERS is set ([#30368](https://github.com/bitnami/charts/pull/30368)) +* [bitnami/keycloak] KEYCLOAK_HOSTNAME present even if KEYCLOAK_PROXY_HEADERS is set (#30368) ([80b1bc3](https://github.com/bitnami/charts/commit/80b1bc3db52748c242a43a37ac9573eed311e6df)), closes [#30368](https://github.com/bitnami/charts/issues/30368) ## 24.3.0 (2024-12-10)