aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml2
1 files changed, 2 insertions, 0 deletions
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 }}