only template the bucket job if buckets are defined

This commit is contained in:
Max Roby authored and Chris Lu committed 2023-11-24 06:40:19 -08:00
1 parent 9ff010d15b
commit 6244bf7355
1 file changed
+2
@@ -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 }}