From b8bfd4411aaa53481ee6c44b41106be3292c365a Mon Sep 17 00:00:00 2001 From: Max Roby Date: Thu, 23 Nov 2023 13:30:17 +0100 Subject: [PATCH] add missing read action --- k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml b/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml index e375ab678..fe89d7845 100644 --- a/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml +++ b/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml @@ -58,7 +58,9 @@ spec: {{- range $reg, $props := $.Values.filer.s3.createBuckets }} {{- if $props.anonymousRead }} exec /bin/echo \ - "s3.configure --user anonymous --buckets {{ $props.name }}" |\ + "s3.configure --user anonymous \ + --buckets {{ $props.name }} \ + --actions Read" |\ /usr/bin/weed shell {{- end }} {{- end }}