aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Roby <max@lil-mac.lan>2023-11-23 13:30:17 +0100
committerChris Lu <chrislusf@users.noreply.github.com>2023-11-24 06:40:19 -0800
commitb8bfd4411aaa53481ee6c44b41106be3292c365a (patch)
treee9294ccd3e82b21af6c348154abadb3b4e10be7c
parentf33f7c10f0781652d99b8b656d34e230f371e71c (diff)
downloadseaweedfs-b8bfd4411aaa53481ee6c44b41106be3292c365a.tar.xz
seaweedfs-b8bfd4411aaa53481ee6c44b41106be3292c365a.zip
add missing read action
-rw-r--r--k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml4
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 }}