aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml2
-rw-r--r--k8s/charts/seaweedfs/values.yaml6
2 files changed, 4 insertions, 4 deletions
diff --git a/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml b/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml
index 5848af34d..57514b20f 100644
--- a/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml
+++ b/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml
@@ -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
diff --git a/k8s/charts/seaweedfs/values.yaml b/k8s/charts/seaweedfs/values.yaml
index 6584a9b3c..b837db164 100644
--- a/k8s/charts/seaweedfs/values.yaml
+++ b/k8s/charts/seaweedfs/values.yaml
@@ -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