SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
Fix YAML parse error in post-install-bucket-hook template (#8523)
Chris Lufcd5de971051
diff --git a/k8s/charts/seaweedfs/templates/shared/post-install-bucket-hook.yaml b/k8s/charts/seaweedfs/templates/shared/post-install-bucket-hook.yamlindex e7df272a8b..86d1a943c6 100644--- a/k8s/charts/seaweedfs/templates/shared/post-install-bucket-hook.yaml+++ b/k8s/charts/seaweedfs/templates/shared/post-install-bucket-hook.yaml@@ -92,6 +92,7 @@ spec:- "/bin/sh"- "-ec"- |+ set -o pipefailwait_for_service() {local url=$1local max_attempts=60 # 5 minutes total (5s * 60)@@ -117,8 +118,7 @@ spec:wait_for_service "http://$WEED_CLUSTER_SW_MASTER{{ .Values.master.readinessProbe.httpGet.path }}"wait_for_service "http://$WEED_CLUSTER_SW_FILER{{ .Values.filer.readinessProbe.httpGet.path }}"{{- end }}- set -o pipefail- {{- range $createBuckets }}+ {{- range $createBuckets }}{{- $bucketName := .name }}{{- $bucketLock := or .lock .objectLock .withLock }}bucket_list=$(/bin/echo 's3.bucket.list' | /usr/bin/weed shell) || { echo "Error listing s3 buckets"; exit 1; }