aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--k8s/charts/seaweedfs/templates/filer-statefulset.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml b/k8s/charts/seaweedfs/templates/filer-statefulset.yaml
index b7227f934..033644150 100644
--- a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml
+++ b/k8s/charts/seaweedfs/templates/filer-statefulset.yaml
@@ -175,7 +175,7 @@ spec:
- mountPath: /etc/sw
name: config-users
readOnly: true
- {{- if .Values.filer.enablePVC }}
+ {{- if (or .Values.filer.enablePVC (eq .Values.filer.data.type "hostPath")) }}
- name: data-filer
mountPath: /data
{{- end }}