2022-05-11 01:10:44 +00:00
|
|
|
---
|
|
|
|
# Source: ingress-nginx/templates/admission-webhooks/validating-webhook.yaml
|
|
|
|
# before changing this value, check the required kubernetes version
|
|
|
|
# https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#prerequisites
|
|
|
|
apiVersion: admissionregistration.k8s.io/v1
|
|
|
|
kind: ValidatingWebhookConfiguration
|
|
|
|
metadata:
|
2023-07-16 06:40:38 +00:00
|
|
|
annotations:
|
2022-05-11 01:10:44 +00:00
|
|
|
labels:
|
2023-07-16 06:40:38 +00:00
|
|
|
helm.sh/chart: ingress-nginx-4.7.1
|
2022-05-11 01:10:44 +00:00
|
|
|
app.kubernetes.io/name: ingress-nginx
|
|
|
|
app.kubernetes.io/instance: ingress-nginx
|
2023-07-16 06:40:38 +00:00
|
|
|
app.kubernetes.io/version: "1.8.1"
|
2022-05-11 01:10:44 +00:00
|
|
|
app.kubernetes.io/part-of: ingress-nginx
|
|
|
|
app.kubernetes.io/managed-by: Helm
|
|
|
|
app.kubernetes.io/component: admission-webhook
|
|
|
|
name: ingress-nginx-admission
|
|
|
|
webhooks:
|
|
|
|
- name: validate.nginx.ingress.kubernetes.io
|
|
|
|
matchPolicy: Equivalent
|
|
|
|
rules:
|
|
|
|
- apiGroups:
|
|
|
|
- networking.k8s.io
|
|
|
|
apiVersions:
|
|
|
|
- v1
|
|
|
|
operations:
|
|
|
|
- CREATE
|
|
|
|
- UPDATE
|
|
|
|
resources:
|
|
|
|
- ingresses
|
|
|
|
failurePolicy: Fail
|
|
|
|
sideEffects: None
|
|
|
|
admissionReviewVersions:
|
|
|
|
- v1
|
|
|
|
clientConfig:
|
|
|
|
service:
|
|
|
|
namespace: "default"
|
|
|
|
name: ingress-nginx-controller-admission
|
|
|
|
path: /networking/v1/ingresses
|