diff options
| -rw-r--r-- | k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml | 4 |
1 files changed, 3 insertions, 1 deletions
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 }} |
