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.

specify the filer.s3.existingConfigSecret for the filer statefulset

jessebotc219a0c55312
diff --git a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml b/k8s/charts/seaweedfs/templates/filer-statefulset.yaml
index c4d5ef9df5..5e4b41b189 100644
--- a/k8s/charts/seaweedfs/templates/filer-statefulset.yaml
+++ b/k8s/charts/seaweedfs/templates/filer-statefulset.yaml
@@ -196,8 +196,8 @@ spec:
mountPath: "/logs/"
{{- end }}
{{- if .Values.filer.s3.enableAuth }}
- - mountPath: /etc/sw
- name: config-users
+ - name: config-users
+ mountPath: /etc/sw
readOnly: true
{{- end }}
{{- if (or .Values.filer.enablePVC (or (eq .Values.filer.data.type "hostPath") (eq .Values.filer.data.type "persistentVolumeClaim"))) }}
@@ -292,7 +292,7 @@ spec:
secret:
defaultMode: 420
{{- if .Values.filer.s3.existingConfigSecret }}
- secretName: {{ .Values.s3.existingConfigSecret }}
+ secretName: {{ .Values.filer.s3.existingConfigSecret }}
{{- else }}
secretName: seaweedfs-s3-secret
{{- end }}