aboutsummaryrefslogtreecommitdiff
path: root/k8s
diff options
context:
space:
mode:
Diffstat (limited to 'k8s')
-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 }}