mirror of
https://github.com/pgsty/minio.git
synced 2026-07-21 13:10:22 +03:00
helm: disallow empty containers in post job template (#16281)
This commit is contained in:
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user