aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--k8s/charts/seaweedfs/Chart.yaml2
-rw-r--r--k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml12
2 files changed, 5 insertions, 9 deletions
diff --git a/k8s/charts/seaweedfs/Chart.yaml b/k8s/charts/seaweedfs/Chart.yaml
index fe25e136e..33ec8344a 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 b8c95fcca..d9f7e6bcf 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 **/}}