From e4cdfde944c050827c75979f1905ede743458123 Mon Sep 17 00:00:00 2001 From: Max Roby Date: Thu, 23 Nov 2023 17:37:38 +0100 Subject: [PATCH] add the secrets volumemount --- .../seaweedfs/templates/post-install-bucket-hook.yaml | 6 ++++++ 1 file changed, 6 insertions(+) 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