Chart: Remove validation for removed API. (#13406)
This commit is contained in:
parent
bc490b09c4
commit
30be84a20a
|
|
@ -17,10 +17,7 @@ metadata:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
{{- if .Capabilities.APIVersions.Has "batch/v1alpha1" }}
|
|
||||||
# Alpha feature since k8s 1.12
|
|
||||||
ttlSecondsAfterFinished: 0
|
ttlSecondsAfterFinished: 0
|
||||||
{{- end }}
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "ingress-nginx.admissionWebhooks.createSecretJob.fullname" . }}
|
name: {{ include "ingress-nginx.admissionWebhooks.createSecretJob.fullname" . }}
|
||||||
|
|
|
||||||
|
|
@ -17,10 +17,7 @@ metadata:
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
{{- if .Capabilities.APIVersions.Has "batch/v1alpha1" }}
|
|
||||||
# Alpha feature since k8s 1.12
|
|
||||||
ttlSecondsAfterFinished: 0
|
ttlSecondsAfterFinished: 0
|
||||||
{{- end }}
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "ingress-nginx.admissionWebhooks.patchWebhookJob.fullname" . }}
|
name: {{ include "ingress-nginx.admissionWebhooks.patchWebhookJob.fullname" . }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue