fix(chart): use filer data PVC correctly (#4398)

This commit is contained in:
samcday 2023-04-12 18:48:44 +02:00 committed by GitHub
parent 88b2bbadd1
commit e60a7af644
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -175,7 +175,7 @@ spec:
- mountPath: /etc/sw
name: config-users
readOnly: true
{{- if (or .Values.filer.enablePVC (eq .Values.filer.data.type "hostPath")) }}
{{- if (or .Values.filer.enablePVC (or (eq .Values.filer.data.type "hostPath") (eq .Values.filer.data.type "persistentVolumeClaim"))) }}
- name: data-filer
mountPath: /data
{{- end }}