diff --git a/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml b/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml index 57514b20f..38f198c62 100644 --- a/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml +++ b/k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml @@ -1,5 +1,6 @@ {{- if .Values.master.enabled }} {{- if .Values.filer.s3.enabled }} +{{- if .Values.filer.s3.createBuckets }} --- apiVersion: batch/v1 kind: Job @@ -69,3 +70,4 @@ spec: {{- end }} {{- end }} {{- end }} +{{- end }}