Browse Source

only template the bucket job if buckets are defined

pull/5049/head
Max Roby 1 year ago
committed by Chris Lu
parent
commit
6244bf7355
  1. 2
      k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml

2
k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml

@ -1,5 +1,6 @@
{{- if .Values.master.enabled }} {{- if .Values.master.enabled }}
{{- if .Values.filer.s3.enabled }} {{- if .Values.filer.s3.enabled }}
{{- if .Values.filer.s3.createBuckets }}
--- ---
apiVersion: batch/v1 apiVersion: batch/v1
kind: Job kind: Job
@ -69,3 +70,4 @@ spec:
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- end }}
Loading…
Cancel
Save