Skip to content

Commit 4a3fda4

Browse files
committed
fix redis cmd
1 parent 8804580 commit 4a3fda4

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

helm/databunkerpro/templates/redis.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ spec:
2525
- name: redis
2626
containerPort: 6379
2727
protocol: TCP
28-
command: /bin/sh -c "redis-server --requirepass $$REDIS_USER_PASS"
28+
command:
29+
- /bin/sh
30+
- -c
31+
- |
32+
redis-server --requirepass $$REDIS_USER_PASS
2933
env:
3034
- name: REDIS_USER_PASS
3135
valueFrom:
@@ -79,4 +83,4 @@ spec:
7983
requests:
8084
storage: {{ .Values.redis.internal.persistence.size }}
8185
{{- end }}
82-
{{- end }}
86+
{{- end }}

0 commit comments

Comments
 (0)