From c4820e37f271c1bd1b14580749a85c4234ba25aa Mon Sep 17 00:00:00 2001 From: Leonardo Date: Fri, 12 Sep 2025 06:03:53 -0300 Subject: [PATCH] [bitnami/redis] Fix service binding password mismatch (#15626) (#36231) * Fix redis service binding password mismatch (bitnami#15626) Signed-off-by: Leonardo * Bump redis chart version Signed-off-by: Leonardo M. Miranda * Update CHANGELOG.md Signed-off-by: Bitnami Bot * Remove test file Signed-off-by: Fran Mulero * Update CHANGELOG.md Signed-off-by: Bitnami Bot --------- Signed-off-by: Leonardo Signed-off-by: Leonardo M. Miranda Signed-off-by: Bitnami Bot Signed-off-by: Fran Mulero Co-authored-by: Bitnami Bot Co-authored-by: Fran Mulero --- bitnami/redis/CHANGELOG.md | 9 +++++++-- bitnami/redis/Chart.yaml | 2 +- bitnami/redis/templates/_helpers.tpl | 4 +++- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/bitnami/redis/CHANGELOG.md b/bitnami/redis/CHANGELOG.md index 5f01d818e0..a001bd1bfa 100644 --- a/bitnami/redis/CHANGELOG.md +++ b/bitnami/redis/CHANGELOG.md @@ -1,8 +1,13 @@ # Changelog -## 23.0.1 (2025-09-05) +## 23.0.2 (2025-09-12) -* [bitnami/redis] Fix: Add conditional check for adding default sentinel auth-pass ([#36207](https://github.com/bitnami/charts/pull/36207)) +* [bitnami/redis] Fix service binding password mismatch (#15626) ([#36231](https://github.com/bitnami/charts/pull/36231)) + +## 23.0.1 (2025-09-05) + +* [bitnami/*] Remove annotations.category (#36224) ([2abc0f9](https://github.com/bitnami/charts/commit/2abc0f9d7e89a5453e57f029c66f581b3d5855ef)), closes [#36224](https://github.com/bitnami/charts/issues/36224) +* [bitnami/redis] Fix: Add conditional check for adding default sentinel auth-pass (#36207) ([b46e3d4](https://github.com/bitnami/charts/commit/b46e3d4f306a3f5a5c0a23888e8df9eeccd2ed22)), closes [#36207](https://github.com/bitnami/charts/issues/36207) ## 22.0.7 (2025-08-27) diff --git a/bitnami/redis/Chart.yaml b/bitnami/redis/Chart.yaml index 14f45129b4..2212895036 100644 --- a/bitnami/redis/Chart.yaml +++ b/bitnami/redis/Chart.yaml @@ -38,4 +38,4 @@ maintainers: name: redis sources: - https://github.com/bitnami/charts/tree/main/bitnami/redis -version: 23.0.1 +version: 23.0.2 diff --git a/bitnami/redis/templates/_helpers.tpl b/bitnami/redis/templates/_helpers.tpl index 3613410c22..e06dcd50f0 100644 --- a/bitnami/redis/templates/_helpers.tpl +++ b/bitnami/redis/templates/_helpers.tpl @@ -205,7 +205,9 @@ Return Redis® password */}} {{- define "redis.password" -}} {{- if or .Values.auth.enabled .Values.global.redis.password -}} - {{- include "common.secrets.passwords.manage" (dict "secret" (include "redis.secretName" .) "key" (include "redis.secretPasswordKey" .) "providedValues" (list "global.redis.password" "auth.password") "length" 10 "skipB64enc" true "skipQuote" true "honorProvidedValues" true "context" $) -}} + {{- $password_tmp := include "common.secrets.passwords.manage" (dict "secret" (include "redis.secretName" .) "key" (include "redis.secretPasswordKey" .) "providedValues" (list "global.redis.password" "auth.password") "length" 10 "skipB64enc" true "skipQuote" true "honorProvidedValues" true "context" $) -}} + {{- $_ := set .Values.global.redis "password" $password_tmp -}} + {{- .Values.global.redis.password -}} {{- end }} {{- end }}