diff --git a/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml b/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml index a5fc6f81c..cab83da86 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