mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-23 06:03:38 +08:00
only template the bucket job if buckets are defined
This commit is contained in:
@@ -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 }}
|
||||||
|
Reference in New Issue
Block a user