Skip to content

Commit 28a30f1

Browse files
migruiz4Bitnami Containers
and
Bitnami Containers
authored
[bitnami/valkey] Fix issue when using custom password secret key (#32375)
* [bitnami/valkey] Fix issue when using custom password secret key Signed-off-by: Miguel Ruiz <[email protected]> * Update CHANGELOG.md Signed-off-by: Bitnami Containers <[email protected]> --------- Signed-off-by: Miguel Ruiz <[email protected]> Signed-off-by: Bitnami Containers <[email protected]> Co-authored-by: Bitnami Containers <[email protected]>
1 parent a8fba5c commit 28a30f1

File tree

5 files changed

+16
-12
lines changed

5 files changed

+16
-12
lines changed

bitnami/valkey/CHANGELOG.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# Changelog
22

3-
## 2.4.5 (2025-03-06)
3+
## 2.4.6 (2025-03-10)
44

5-
* [bitnami/valkey]: add apiVersion and kind to sentinel statefulset ([#32356](https://github.com/bitnami/charts/pull/32356))
5+
* [bitnami/valkey] Fix issue when using custom password secret key ([#32375](https://github.com/bitnami/charts/pull/32375))
6+
7+
## <small>2.4.5 (2025-03-10)</small>
8+
9+
* [bitnami/valkey]: add apiVersion and kind to sentinel statefulset (#32356) ([8c1620e](https://github.com/bitnami/charts/commit/8c1620e5cc40471808b0099a41d44fe7b1141f65)), closes [#32356](https://github.com/bitnami/charts/issues/32356)
610

711
## <small>2.4.4 (2025-03-05)</small>
812

bitnami/valkey/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ maintainers:
3737
name: valkey
3838
sources:
3939
- https://github.com/bitnami/charts/tree/main/bitnami/valkey
40-
version: 2.4.5
40+
version: 2.4.6

bitnami/valkey/templates/primary/application.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ spec:
180180
{{- if .Values.auth.enabled }}
181181
{{- if .Values.auth.usePasswordFiles }}
182182
- name: VALKEY_PASSWORD_FILE
183-
value: {{ printf "/opt/bitnami/valkey/secrets/%s" (include "valkey.secretPasswordKey" .) }}
183+
value: "/opt/bitnami/valkey/secrets/valkey-password"
184184
{{- else }}
185185
- name: VALKEY_PASSWORD
186186
valueFrom:
@@ -338,7 +338,7 @@ spec:
338338
value: default
339339
{{- if .Values.auth.usePasswordFiles }}
340340
- name: REDIS_PASSWORD_FILE
341-
value: {{ printf "/secrets/%s" (include "valkey.secretPasswordKey" .) }}
341+
value: "/secrets/valkey-password"
342342
{{- else }}
343343
- name: REDIS_PASSWORD
344344
valueFrom:

bitnami/valkey/templates/replicas/application.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,9 @@ spec:
194194
{{- if .Values.auth.enabled }}
195195
{{- if .Values.auth.usePasswordFiles }}
196196
- name: VALKEY_PASSWORD_FILE
197-
value: {{ printf "/opt/bitnami/valkey/secrets/%s" (include "valkey.secretPasswordKey" .) }}
197+
value: "/opt/bitnami/valkey/secrets/valkey-password"
198198
- name: VALKEY_PRIMARY_PASSWORD_FILE
199-
value: {{ printf "/opt/bitnami/valkey/secrets/%s" (include "valkey.secretPasswordKey" .) }}
199+
value: "/opt/bitnami/valkey/secrets/valkey-password"
200200
{{- else }}
201201
- name: VALKEY_PASSWORD
202202
valueFrom:
@@ -358,7 +358,7 @@ spec:
358358
value: default
359359
{{- if .Values.auth.usePasswordFiles }}
360360
- name: REDIS_PASSWORD_FILE
361-
value: {{ printf "/secrets/%s" (include "valkey.secretPasswordKey" .) }}
361+
value: "/secrets/valkey-password"
362362
{{- else }}
363363
- name: REDIS_PASSWORD
364364
valueFrom:

bitnami/valkey/templates/sentinel/statefulset.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,9 @@ spec:
186186
{{- if .Values.auth.enabled }}
187187
{{- if .Values.auth.usePasswordFiles }}
188188
- name: VALKEY_PASSWORD_FILE
189-
value: {{ printf "/opt/bitnami/valkey/secrets/%s" (include "valkey.secretPasswordKey" .) }}
189+
value: "/opt/bitnami/valkey/secrets/valkey-password"
190190
- name: VALKEY_PRIMARY_PASSWORD_FILE
191-
value: {{ printf "/opt/bitnami/valkey/secrets/%s" (include "valkey.secretPasswordKey" .) }}
191+
value: "/opt/bitnami/valkey/secrets/valkey-password"
192192
{{- else }}
193193
- name: VALKEY_PASSWORD
194194
valueFrom:
@@ -392,7 +392,7 @@ spec:
392392
{{- if .Values.auth.enabled }}
393393
{{- if .Values.auth.usePasswordFiles }}
394394
- name: VALKEY_PASSWORD_FILE
395-
value: {{ printf "/opt/bitnami/valkey/secrets/%s" (include "valkey.secretPasswordKey" .) }}
395+
value: "/opt/bitnami/valkey/secrets/valkey-password"
396396
{{- else }}
397397
- name: VALKEY_PASSWORD
398398
valueFrom:
@@ -564,7 +564,7 @@ spec:
564564
value: default
565565
{{- if .Values.auth.usePasswordFiles }}
566566
- name: REDIS_PASSWORD_FILE
567-
value: {{ printf "/secrets/%s" (include "valkey.secretPasswordKey" .) }}
567+
value: "/secrets/valkey-password"
568568
{{- else }}
569569
- name: REDIS_PASSWORD
570570
valueFrom:

0 commit comments

Comments
 (0)