Fix missing mounts with non-persistent funkwhale

This commit is contained in:
Alexander Olofsson 2019-07-09 09:59:13 +02:00
parent 673c64f3a5
commit 54fe5d47af
No known key found for this signature in database
GPG key ID: D439C9470CB04C73
2 changed files with 3 additions and 5 deletions

View file

@ -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

View file

@ -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