Browse Source

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

pull/4404/head
samcday 2 years ago
committed by GitHub
parent
commit
e60a7af644
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      k8s/charts/seaweedfs/templates/filer-statefulset.yaml

2
k8s/charts/seaweedfs/templates/filer-statefulset.yaml

@ -175,7 +175,7 @@ spec:
- mountPath: /etc/sw - mountPath: /etc/sw
name: config-users name: config-users
readOnly: true 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 - name: data-filer
mountPath: /data mountPath: /data
{{- end }} {{- end }}

Loading…
Cancel
Save