diff --git a/charts/funkwhale/templates/_helpers.tpl b/charts/funkwhale/templates/_helpers.tpl index d9c8384..46d57eb 100644 --- a/charts/funkwhale/templates/_helpers.tpl +++ b/charts/funkwhale/templates/_helpers.tpl @@ -11,7 +11,7 @@ postgres://{{ .Values.database.user}}:{{ .Values.database.password }}@{{ .Values {{- end -}} {{- 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.redisPort }}/0 {{- end -}} {{/* diff --git a/charts/funkwhale/templates/deployment.yaml b/charts/funkwhale/templates/deployment.yaml index d8b4b33..6fbf379 100644 --- a/charts/funkwhale/templates/deployment.yaml +++ b/charts/funkwhale/templates/deployment.yaml @@ -66,7 +66,7 @@ spec: name: frontend - name: data mountPath: /srv/funkwhale/data -{{- with .Values.extraVolumeMounts }} +{{- with .Values.api.extraVolumeMounts }} {{ toYaml . | nindent 12 }} {{- end }} resources: diff --git a/charts/funkwhale/values.yaml b/charts/funkwhale/values.yaml index 28a5509..45e85c4 100644 --- a/charts/funkwhale/values.yaml +++ b/charts/funkwhale/values.yaml @@ -57,6 +57,7 @@ redis: enabled: false password: funkwhale redisPort: 6379 + host: {{ template "funkwhale.fullname" . }}-redis-master djangoSecret: ''