Skip to content

Commit 18e3d95

Browse files
authored
Merge pull request CloudPirates-io#152 from bl4ko/fix/sentinel-cli-pass
[redis] fix requirepass for sentinels when password is set
2 parents 5257155 + 7691aa0 commit 18e3d95

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

charts/redis/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changelog
22

3-
## 0.4.4 (2025-09-24)
3+
## 0.4.5 (2025-09-24)
44

5-
* [postgres] fix: Change default name for CUSTOM_PASSWORD ([#144](https://github.com/CloudPirates-io/helm-charts/pull/144))
5+
* [redis] fix requirepass for sentinels when password is set ([#152](https://github.com/CloudPirates-io/helm-charts/pull/152))

charts/redis/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: redis
33
description: An open source, in-memory data structure store used as a database, cache, and message broker.
44
type: application
5-
version: 0.4.4
5+
version: 0.4.5
66
appVersion: "8.2.1"
77
keywords:
88
- redis

charts/redis/templates/statefulset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ spec:
325325
sentinel parallel-syncs {{ .Values.sentinel.masterName }} {{ .Values.sentinel.parallelSyncs }}
326326
{{- if .Values.auth.enabled }}
327327
sentinel auth-pass {{ .Values.sentinel.masterName }} "${REDIS_PASSWORD}"
328+
requirepass "${REDIS_PASSWORD}"
328329
{{- end }}
329330
# Make automatic failover more aggressive for Kubernetes force deletions
330331
sentinel deny-scripts-reconfig yes

0 commit comments

Comments
 (0)