Browse Source

add missing read action

pull/5049/head
Max Roby 1 year ago
committed by Chris Lu
parent
commit
b8bfd4411a
  1. 4
      k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml

4
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 }}

Loading…
Cancel
Save