mirror of
https://github.com/minio/minio.git
synced 2025-01-23 20:53:18 -05:00
helm: disallow empty containers in post job template (#16281)
This commit is contained in:
parent
f7560670d9
commit
44250f1a52
@ -1,3 +1,4 @@
|
|||||||
|
{{- if or .Values.buckets .Values.users .Values.policies .Values.customCommands .Values.svcaccts }}
|
||||||
apiVersion: batch/v1
|
apiVersion: batch/v1
|
||||||
kind: Job
|
kind: Job
|
||||||
metadata:
|
metadata:
|
||||||
@ -229,3 +230,4 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.makeServiceAccountJob.resources | nindent 12 }}
|
{{- toYaml .Values.makeServiceAccountJob.resources | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user