File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
bindata/cluster-network-operator Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ apiVersion : admissionregistration.k8s.io/v1
2
+ kind : ValidatingAdmissionPolicy
3
+ metadata :
4
+ name : " servicecidrs.openshift.io"
5
+ spec :
6
+ failurePolicy : Fail
7
+ matchConstraints :
8
+ resourceRules :
9
+ - apiGroups : ["networking.k8s.io"]
10
+ apiVersions : ["v1", "v1beta1"]
11
+ operations : ["CREATE", "UPDATE"]
12
+ resources : ["servicecidrs"]
13
+ validations :
14
+ - expression : " object.metadata.name == 'kubernetes'"
15
+ messageExpression : " changing service CIDRs in a running cluster is not supported"
16
+ ---
17
+ apiVersion : admissionregistration.k8s.io/v1
18
+ kind : ValidatingAdmissionPolicyBinding
19
+ metadata :
20
+ name : " servicecidrs-binding"
21
+ spec :
22
+ policyName : " servicecidrs.openshift.io"
23
+ validationActions : [Deny]
You can’t perform that action at this time.
0 commit comments