aboutsummaryrefslogtreecommitdiff
path: root/k8s/charts
diff options
context:
space:
mode:
authorMax Roby <max@lil-mac.lan>2023-11-23 17:37:38 +0100
committerChris Lu <chrislusf@users.noreply.github.com>2023-11-24 06:40:19 -0800
commite4cdfde944c050827c75979f1905ede743458123 (patch)
treedfcb45007c7f3837b612e25187f8c93aaa2e5c90 /k8s/charts
parent2af6b1380009c834cef42110a8a1719cd3770dc0 (diff)
downloadseaweedfs-e4cdfde944c050827c75979f1905ede743458123.tar.xz
seaweedfs-e4cdfde944c050827c75979f1905ede743458123.zip
add the secrets volumemount
Diffstat (limited to 'k8s/charts')
-rw-r--r--k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml6
1 files changed, 6 insertions, 0 deletions
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