@ -100,7 +100,7 @@ spec:
- name: media
{{- if .Values.persistence.enabled }}
persistentVolumeClaim:
claimName: media
claimName: {{ include "sapl.fullname" . }}-media
{{- else }}
emptyDir: {}
{{- end }}
@ -2,7 +2,9 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: media
name: {{ include "sapl.fullname" . }}-media
labels:
{{- include "sapl.labels" . | nindent 4 }}
spec:
accessModes:
- {{ .Values.persistence.accessMode }}