Skip to content

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.

Fix: helm: remove deprecated values that caused helm template error for post install hook (#5108)

JesseBot2b323a82930f
diff --git a/k8s/charts/seaweedfs/Chart.yaml b/k8s/charts/seaweedfs/Chart.yaml
index fe25e136e6..33ec8344a5 100644
--- a/k8s/charts/seaweedfs/Chart.yaml
+++ b/k8s/charts/seaweedfs/Chart.yaml
@@ -2,4 +2,4 @@ apiVersion: v1
description: SeaweedFS
name: seaweedfs
appVersion: "3.59"
-version: 3.59.4
+version: 3.60.0
diff --git a/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml b/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml
index b8c95fccab..d9f7e6bcf2 100644
--- a/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml
+++ b/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml
@@ -80,9 +80,6 @@ spec:
{{- end }}
- containerPort: {{ .Values.master.grpcPort }}
#name: swfs-master-grpc
- {{- if .Values.master.readinessProbe.enabled }}
- {{- $hostpath_exists := include "master.hostpath_exists" . -}}
- {{- $existing_claims := include "master.existing_claims" . -}}
{{- if .Values.filer.s3.enableAuth }}
volumes:
- name: config-users
@@ -93,8 +90,7 @@ spec:
{{- else }}
secretName: seaweedfs-s3-secret
{{- end }}
- {{- end }}
-{{- end }}
-{{- end }}
-{{- end }}
-{{- end }}
+ {{- end }}{{/** if .Values.filer.s3.enableAuth **/}}
+{{- end }}{{/** if .Values.master.enabled **/}}
+{{- end }}{{/** if .Values.filer.s3.enabled **/}}
+{{- end }}{{/** if .Values.filer.s3.createBuckets **/}}