redis: Avoid templates in values.yaml
This commit is contained in:
parent
374c18191a
commit
ee9612bc5a
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ postgres://{{ .Values.database.user}}:{{ .Values.database.password }}@{{ .Values
|
|||
{{- end -}}
|
||||
|
||||
{{- define "funkwhale.redisUrl" -}}
|
||||
redis://:{{ .Values.redis.password }}@{{ .Values.redis.host }}:{{ .Values.redis.redisPort }}/0
|
||||
redis://:{{ .Values.redis.password }}@{{ .Values.redis.host | default (printf "%s-%s" (include "funkwhale.fullname" .) "redis-master") }}:{{ .Values.redis.redisPort }}/0
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
|
|
|
@ -57,7 +57,7 @@ redis:
|
|||
enabled: false
|
||||
password: funkwhale
|
||||
redisPort: 6379
|
||||
host: {{ template "funkwhale.fullname" . }}-redis-master
|
||||
# host: {{ template "funkwhale.fullname" . }}-redis-master
|
||||
|
||||
djangoSecret: ''
|
||||
|
||||
|
|
Loading…
Reference in a new issue