-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.yaml
47 lines (47 loc) · 1.1 KB
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
labels:
app.kubernetes.io/name: ingress-nginx
name: ingress-nginx-admission
webhooks:
- name: validate.delete.ns
matchPolicy: Exact
rules:
- apiGroups:
- *
apiVersions:
- v1
operations:
- DELETE
resources:
- namespaces
failurePolicy: Fail
sideEffects: None
admissionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: vela-system
name: ingress-nginx-controller-admission
path: /validate/delete/ns
- name: validate.delete.crd
matchPolicy: Exact
rules:
- apiGroups:
- apiextensions.k8s.io
apiVersions:
- v1
operations:
- DELETE
resources:
- customResourceDefinitions
failurePolicy: Fail
sideEffects: None
admissionReviewVersions:
- v1beta1
clientConfig:
service:
namespace: vela-system
name: ingress-nginx-controller-admission
path: /validate/delete/crd