mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix loop logic in bucket hook and fix bucket name sin values file
This commit is contained in:
parent
e4f77b283c
commit
869c2ff4f4
|
@ -48,8 +48,8 @@ spec:
|
|||
command:
|
||||
- "/bin/sh"
|
||||
- "-ec"
|
||||
{{- range $.Values.filer.s3.createBuckets }}
|
||||
- |
|
||||
{{- range $.Values.filer.s3.createBuckets }}
|
||||
exec /bin/echo \
|
||||
"s3.bucket.create --name {{ . }}" |\
|
||||
/usr/bin/weed shell
|
||||
|
|
|
@ -578,12 +578,12 @@ filer:
|
|||
auditLogConfig: {}
|
||||
# You may specify buckets and users to be created during the install process
|
||||
# createBuckets:
|
||||
# - bucketA
|
||||
# - bucketB
|
||||
# - bucket-a
|
||||
# - bucket-b
|
||||
# createUsers:
|
||||
# - name: friend
|
||||
# actions: "read,write,list"
|
||||
# buckets: "bucketA"
|
||||
# buckets: "bucket-b"
|
||||
# secretName: friend-s3-creds
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue