fix loop logic in bucket hook and fix bucket name sin values file
This commit is contained in:
@@ -48,8 +48,8 @@ spec:
|
|||||||
command:
|
command:
|
||||||
- "/bin/sh"
|
- "/bin/sh"
|
||||||
- "-ec"
|
- "-ec"
|
||||||
{{- range $.Values.filer.s3.createBuckets }}
|
|
||||||
- |
|
- |
|
||||||
|
{{- range $.Values.filer.s3.createBuckets }}
|
||||||
exec /bin/echo \
|
exec /bin/echo \
|
||||||
"s3.bucket.create --name {{ . }}" |\
|
"s3.bucket.create --name {{ . }}" |\
|
||||||
/usr/bin/weed shell
|
/usr/bin/weed shell
|
||||||
|
|||||||
@@ -578,12 +578,12 @@ filer:
|
|||||||
auditLogConfig: {}
|
auditLogConfig: {}
|
||||||
# You may specify buckets and users to be created during the install process
|
# You may specify buckets and users to be created during the install process
|
||||||
# createBuckets:
|
# createBuckets:
|
||||||
# - bucketA
|
# - bucket-a
|
||||||
# - bucketB
|
# - bucket-b
|
||||||
# createUsers:
|
# createUsers:
|
||||||
# - name: friend
|
# - name: friend
|
||||||
# actions: "read,write,list"
|
# actions: "read,write,list"
|
||||||
# buckets: "bucketA"
|
# buckets: "bucket-b"
|
||||||
# secretName: friend-s3-creds
|
# secretName: friend-s3-creds
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user