Chart: Remove validation for removed API. (#13406)

This commit is contained in:
Ted 2025-05-26 16:41:47 +08:00 committed by GitHub
parent bc490b09c4
commit 30be84a20a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 6 deletions

View File

@ -17,10 +17,7 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if .Capabilities.APIVersions.Has "batch/v1alpha1" }}
# Alpha feature since k8s 1.12
ttlSecondsAfterFinished: 0
{{- end }}
template:
metadata:
name: {{ include "ingress-nginx.admissionWebhooks.createSecretJob.fullname" . }}

View File

@ -17,10 +17,7 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if .Capabilities.APIVersions.Has "batch/v1alpha1" }}
# Alpha feature since k8s 1.12
ttlSecondsAfterFinished: 0
{{- end }}
template:
metadata:
name: {{ include "ingress-nginx.admissionWebhooks.patchWebhookJob.fullname" . }}