diff --git a/charts/funkwhale/Chart.yaml b/charts/funkwhale/Chart.yaml index 82fa456..9d77858 100644 --- a/charts/funkwhale/Chart.yaml +++ b/charts/funkwhale/Chart.yaml @@ -4,4 +4,4 @@ appVersion: "0.19.1" description: A social platform to enjoy and share music icon: https://funkwhale.audio/favicon.png name: funkwhale -version: 0.2.1 +version: 0.2.2 diff --git a/charts/funkwhale/templates/deployment.yaml b/charts/funkwhale/templates/deployment.yaml index f530a8e..7fb17f9 100644 --- a/charts/funkwhale/templates/deployment.yaml +++ b/charts/funkwhale/templates/deployment.yaml @@ -54,7 +54,6 @@ spec: name: {{ include "funkwhale.fullname" . }} - secretRef: name: {{ include "funkwhale.fullname" . }} - {{- if or .Values.persistence.enabled .Values.api.extraVolumeMounts }} volumeMounts: - mountPath: /run/funkwhale name: funkwhale-sock @@ -64,10 +63,9 @@ spec: name: frontend - name: data mountPath: /srv/funkwhale/data -{{- if .Values.extraVolumeMounts }} -{{ toYaml .Values.extraVolumeMounts | indent 12 }} +{{- with .Values.extraVolumeMounts }} + {{ toYaml . | nindent 12 }} {{- end }} - {{- end }} resources: {{- toYaml .Values.api.resources | nindent 12 }} - name: nginx