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.

add the secrets volumemount

Max Robye4cdfde944c0
diff --git a/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml b/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml
index a5fc6f81cf..cab83da860 100644
--- a/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml
+++ b/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml
@@ -64,6 +64,12 @@ spec:
/usr/bin/weed shell
{{- end }}
{{- end }}
+ {{- if .Values.filer.s3.enableAuth }}
+ volumeMounts:
+ - name: config-users
+ mountPath: /etc/sw
+ readOnly: true
+ {{- end }}
ports:
- containerPort: {{ .Values.master.port }}
name: swfs-master