From aac2cd23c7ea66e846c0f77633afa1c38a39c90c Mon Sep 17 00:00:00 2001 From: Max Roby Date: Fri, 24 Nov 2023 09:26:59 +0100 Subject: [PATCH] add a true flag to job command --- k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml | 5 +++-- 1 file 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 }}