aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Roby <max@lil-mac.lan>2023-11-24 09:26:59 +0100
committerChris Lu <chrislusf@users.noreply.github.com>2023-11-24 06:40:19 -0800
commitaac2cd23c7ea66e846c0f77633afa1c38a39c90c (patch)
treeb7a99615ecee25ada975c24ed48f9740b8a50e27
parente4cdfde944c050827c75979f1905ede743458123 (diff)
downloadseaweedfs-aac2cd23c7ea66e846c0f77633afa1c38a39c90c.tar.xz
seaweedfs-aac2cd23c7ea66e846c0f77633afa1c38a39c90c.zip
add a true flag to job command
-rw-r--r--k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml b/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml
index cab83da86..712eddd74 100644
--- a/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml
+++ b/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml
@@ -60,8 +60,9 @@ spec:
exec /bin/echo \
"s3.configure --user anonymous \
--buckets {{ $props.name }} \
- --actions Read" |\
- /usr/bin/weed shell
+ --actions Read \
+ --apply true" |\
+ /usr/bin/weed shell
{{- end }}
{{- end }}
{{- if .Values.filer.s3.enableAuth }}