diff --git a/bitnami/redis/CHANGELOG.md b/bitnami/redis/CHANGELOG.md
index 1cf1748ce8..fbde103e71 100644
--- a/bitnami/redis/CHANGELOG.md
+++ b/bitnami/redis/CHANGELOG.md
@@ -1,8 +1,12 @@
# Changelog
-## 21.1.8 (2025-05-27)
+## 21.1.9 (2025-05-29)
-* [bitnami/redis] :zap: :arrow_up: Update dependency references ([#33914](https://github.com/bitnami/charts/pull/33914))
+* [bitnami/redis] Fix newlines in sentinel.conf ([#33704](https://github.com/bitnami/charts/pull/33704))
+
+## 21.1.8 (2025-05-27)
+
+* [bitnami/redis] :zap: :arrow_up: Update dependency references (#33914) ([ee96950](https://github.com/bitnami/charts/commit/ee969504a78c20e8bb6cd9ca5876d6c97f583c4f)), closes [#33914](https://github.com/bitnami/charts/issues/33914)
## 21.1.7 (2025-05-26)
diff --git a/bitnami/redis/Chart.yaml b/bitnami/redis/Chart.yaml
index 8fd9093a41..8ec0105977 100644
--- a/bitnami/redis/Chart.yaml
+++ b/bitnami/redis/Chart.yaml
@@ -39,4 +39,4 @@ maintainers:
name: redis
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/redis
-version: 21.1.8
+version: 21.1.9
diff --git a/bitnami/redis/templates/configmap.yaml b/bitnami/redis/templates/configmap.yaml
index 05354a67c3..292c857048 100644
--- a/bitnami/redis/templates/configmap.yaml
+++ b/bitnami/redis/templates/configmap.yaml
@@ -87,12 +87,12 @@ data:
sentinel client-reconfig-script {{ .Values.sentinel.masterSet }} /opt/bitnami/scripts/start-scripts/push-master-label.sh
{{- end }}
{{- if .Values.auth.acl.sentinel }}
- {{- $userSecret := .Values.auth.acl.userSecret -}}
# Sentinel ACL configuration, only for users with password
+ {{- $userSecret := .Values.auth.acl.userSecret }}
{{- range .Values.auth.acl.users }}
{{- $userPassword := .password | default "" }}
{{- $secretPassword := ternary "" (include "common.secrets.get" (dict "secret" $userSecret "key" .username "context" $)) (empty $userSecret) }}
- {{ if or $userPassword $secretPassword }}
+ {{- if or $userPassword $secretPassword }}
user {{ .username }} {{ default "on" .enabled }} #{{ coalesce $secretPassword $userPassword | sha256sum }} ~* &* +@all
sentinel sentinel-user {{ .username }}
sentinel sentinel-pass {{ coalesce $secretPassword $userPassword }}