We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de93ea6 commit b62995aCopy full SHA for b62995a
bindata/cluster-network-operator/servicecidr-vap.yaml
@@ -0,0 +1,14 @@
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"]
10
+ apiVersions: ["v1"]
11
+ operations: ["CREATE", "UPDATE"]
12
+ resources: ["servicecidr"]
13
+ validations:
14
+ - expression: "object.name != 'kubernetes'"
0 commit comments