diff options
| author | Max Roby <max@lil-mac.lan> | 2023-11-23 10:17:50 +0100 |
|---|---|---|
| committer | Chris Lu <chrislusf@users.noreply.github.com> | 2023-11-24 06:40:19 -0800 |
| commit | 869c2ff4f492dd254bbee88516b7d6e31afdef4b (patch) | |
| tree | d44b7e56815ff2cda7912b2b3c45c5d0eb24aff7 | |
| parent | e4f77b283cc09f4dc69a20f94be15d760aa4674e (diff) | |
| download | seaweedfs-869c2ff4f492dd254bbee88516b7d6e31afdef4b.tar.xz seaweedfs-869c2ff4f492dd254bbee88516b7d6e31afdef4b.zip | |
fix loop logic in bucket hook and fix bucket name sin values file
| -rw-r--r-- | k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml | 2 | ||||
| -rw-r--r-- | k8s/charts/seaweedfs/values.yaml | 6 |
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 |
