From 5a3fe1c98a8991f78373b3884f9c205f1585122f Mon Sep 17 00:00:00 2001 From: Koren Peretz <62677694+KorenP1@users.noreply.github.com> Date: Fri, 16 May 2025 13:03:58 +0300 Subject: [PATCH] [bitnami/grafana] Deterministic admin password secret + saving password for future uses if .Values.admin.password is not set (#33672) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Deterministic admin password secret + saving password for future uses if .Values.admin.password is not set Signed-off-by: Koren Peretz * Update Chart.yaml Signed-off-by: Koren Peretz <62677694+KorenP1@users.noreply.github.com> * Update CHANGELOG.md Signed-off-by: Bitnami Bot * Update secret.yaml Signed-off-by: Koren Peretz <62677694+KorenP1@users.noreply.github.com> * Update secret.yaml Signed-off-by: Koren Peretz <62677694+KorenP1@users.noreply.github.com> * Update secret.yaml Signed-off-by: Koren Peretz <62677694+KorenP1@users.noreply.github.com> * Update secret.yaml Signed-off-by: Koren Peretz <62677694+KorenP1@users.noreply.github.com> * Update CHANGELOG.md Signed-off-by: Bitnami Bot * Update Chart.yaml Signed-off-by: Koren Peretz <62677694+KorenP1@users.noreply.github.com> * Update CHANGELOG.md Signed-off-by: Bitnami Bot * Update CHANGELOG.md Signed-off-by: Bitnami Bot --------- Signed-off-by: Koren Peretz Signed-off-by: Koren Peretz <62677694+KorenP1@users.noreply.github.com> Signed-off-by: Bitnami Bot Signed-off-by: Juan José Martos Co-authored-by: Koren Peretz Co-authored-by: Bitnami Bot Co-authored-by: Juan José Martos --- bitnami/grafana/CHANGELOG.md | 8 ++++++-- bitnami/grafana/Chart.yaml | 2 +- bitnami/grafana/templates/secret.yaml | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/bitnami/grafana/CHANGELOG.md b/bitnami/grafana/CHANGELOG.md index cd955ba402..7350bf0c27 100644 --- a/bitnami/grafana/CHANGELOG.md +++ b/bitnami/grafana/CHANGELOG.md @@ -1,8 +1,12 @@ # Changelog -## 12.0.2 (2025-05-15) +## 12.0.3 (2025-05-16) -* [bitnami/grafana] fix metrics namespace include ([#33714](https://github.com/bitnami/charts/pull/33714)) +* [bitnami/grafana] Deterministic admin password secret + saving password for future uses if .Values.admin.password is not set ([#33672](https://github.com/bitnami/charts/pull/33672)) + +## 12.0.2 (2025-05-15) + +* [bitnami/grafana] fix metrics namespace include (#33714) ([5a23570](https://github.com/bitnami/charts/commit/5a23570b164643efc1c55ae8aed6bc586a9738be)), closes [#33714](https://github.com/bitnami/charts/issues/33714) ## 12.0.1 (2025-05-15) diff --git a/bitnami/grafana/Chart.yaml b/bitnami/grafana/Chart.yaml index d65ed4630a..633394c16e 100644 --- a/bitnami/grafana/Chart.yaml +++ b/bitnami/grafana/Chart.yaml @@ -33,4 +33,4 @@ maintainers: name: grafana sources: - https://github.com/bitnami/charts/tree/main/bitnami/grafana -version: 12.0.2 +version: 12.0.3 diff --git a/bitnami/grafana/templates/secret.yaml b/bitnami/grafana/templates/secret.yaml index c4df14c141..6c3c87129d 100644 --- a/bitnami/grafana/templates/secret.yaml +++ b/bitnami/grafana/templates/secret.yaml @@ -16,5 +16,5 @@ metadata: {{- end }} type: Opaque data: - GF_SECURITY_ADMIN_PASSWORD: {{ ternary (randAlphaNum 10) .Values.admin.password (empty .Values.admin.password) | b64enc | quote }} + GF_SECURITY_ADMIN_PASSWORD: {{ include "common.secrets.passwords.manage" (dict "secret" (printf "%s-admin" (include "common.names.fullname" .)) "key" "GF_SECURITY_ADMIN_PASSWORD" "length" 10 "providedValues" (list "admin.password") "context" $) }} {{- end }}