Allow passing in external redis host

This commit is contained in:
Florian Piesche 2021-03-09 02:37:36 +00:00
parent 0e1937dc17
commit 9524a79501
No known key found for this signature in database
GPG key ID: CF7283FB896221F3
2 changed files with 3 additions and 2 deletions

View file

@ -11,7 +11,7 @@ postgres://{{ .Values.database.user}}:{{ .Values.database.password }}@{{ .Values
{{- end -}} {{- end -}}
{{- define "funkwhale.redisUrl" -}} {{- define "funkwhale.redisUrl" -}}
redis://:{{ .Values.redis.password }}@{{ template "funkwhale.fullname" . }}-redis-master:{{ .Values.redis.redisPort }}/0 redis://:{{ .Values.redis.password }}@{{ .Values.redis.host }}:{{ .Values.redis.port }}/0
{{- end -}} {{- end -}}
{{/* {{/*

View file

@ -56,7 +56,8 @@ redis:
persistence: persistence:
enabled: false enabled: false
password: funkwhale password: funkwhale
redisPort: 6379 port: 6379
host: {{ template "funkwhale.fullname" . }}-redis-master
djangoSecret: '' djangoSecret: ''