Skip to content

Commit 2c32abe

Browse files
committed
fix: Disable custom command if auth disabled
1 parent 69cd264 commit 2c32abe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

charts/dependencies/templates/redis.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ spec:
3636
fsGroup: 999
3737
containers:
3838
- image: redis:8
39+
{{- if eq .Values.redis.auth_mode "acl" }}
3940
command: ["redis-server", "/usr/local/etc/redis/redis.conf"]
41+
{{- end }}
4042
name: redis
4143
{{- if .Values.redis.env }}
4244
env:

0 commit comments

Comments
 (0)