Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

fix(chart): use hostpath filer persistence when deprecated enablePVC is unset (#4384)

samcdayadf80dc3f673
diff --git a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml b/k8s/charts/seaweedfs/templates/filer-statefulset.yaml
index b7227f9347..0336441508 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 }}