helm: disallow empty containers in post job template (#16281)

This commit is contained in:
Han Cen
2022-12-24 04:32:18 +08:00
committed by GitHub
parent f7560670d9
commit 44250f1a52

View File

@@ -1,3 +1,4 @@
{{- if or .Values.buckets .Values.users .Values.policies .Values.customCommands .Values.svcaccts }}
apiVersion: batch/v1
kind: Job
metadata:
@@ -229,3 +230,4 @@ spec:
resources:
{{- toYaml .Values.makeServiceAccountJob.resources | nindent 12 }}
{{- end }}
{{- end }}