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(chart): bucket hook (#8680)
hoppla20d34da671eb3b
diff --git a/k8s/charts/seaweedfs/templates/shared/post-install-bucket-hook.yaml b/k8s/charts/seaweedfs/templates/shared/post-install-bucket-hook.yamlindex 86d1a943c6..1a20a293ab 100644--- a/k8s/charts/seaweedfs/templates/shared/post-install-bucket-hook.yaml+++ b/k8s/charts/seaweedfs/templates/shared/post-install-bucket-hook.yaml@@ -64,9 +64,11 @@ spec:{{- if .Values.filer.podSecurityContext.enabled }}securityContext: {{- omit .Values.filer.podSecurityContext "enabled" | toYaml | nindent 8 }}{{- end }}+ {{- include "seaweedfs.imagePullSecrets" $ | nindent 6 }}containers:- name: post-install-jobimage: {{ template "master.image" . }}+ imagePullPolicy: {{ $.Values.global.imagePullPolicy | default "IfNotPresent" }}env:- name: WEED_CLUSTER_DEFAULTvalue: "sw"@@ -187,6 +189,10 @@ spec:{{- end }}- containerPort: {{ .Values.master.grpcPort }}#name: swfs-master-grpc+ {{- with coalesce .Values.allInOne.s3.createBucketsHook.resources .Values.s3.createBucketsHook.resources .Values.filer.s3.createBucketsHook.resources }}+ resources:+ {{- toYaml . | nindent 10 }}+ {{- end }}{{- if .Values.filer.containerSecurityContext.enabled }}securityContext: {{- omit .Values.filer.containerSecurityContext "enabled" | toYaml | nindent 12 }}{{- end }}diff --git a/k8s/charts/seaweedfs/values.yaml b/k8s/charts/seaweedfs/values.yamlindex 364334c164..9ea4649dcd 100644--- a/k8s/charts/seaweedfs/values.yaml+++ b/k8s/charts/seaweedfs/values.yaml@@ -915,6 +915,8 @@ filer:# versioning: Enabled# - name: bucket-b# anonymousRead: false+ createBucketsHook:+ resources: {}s3:enabled: false@@ -1082,6 +1084,9 @@ s3:failureThreshold: 100timeoutSeconds: 10+ createBucketsHook:+ resources: {}+ingress:enabled: falseclassName: ""@@ -1485,6 +1490,8 @@ allInOne:# versioning: Enabled# - name: bucket-b# anonymousRead: false+ createBucketsHook:+ resources: {}# SFTP server configuration# Note: Most parameters below default to null, which means they inherit from