File tree Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,34 @@ webhooks:
8686 timeoutSeconds: 10
8787---
8888apiVersion: admissionregistration.k8s.io/v1
89+ kind: ValidatingWebhookConfiguration
90+ metadata:
91+ name: vopenstackversion.kb.io
92+ webhooks:
93+ - admissionReviewVersions:
94+ - v1
95+ clientConfig:
96+ caBundle: ${CA_BUNDLE}
97+ url: https://${CRC_IP} :9443/validate-core-openstack-org-v1beta1-openstackversion
98+ failurePolicy: Fail
99+ matchPolicy: Equivalent
100+ name: vopenstackversion.kb.io
101+ objectSelector: {}
102+ rules:
103+ - apiGroups:
104+ - core.openstack.org
105+ apiVersions:
106+ - v1beta1
107+ operations:
108+ - CREATE
109+ - UPDATE
110+ resources:
111+ - openstackversions
112+ scope: '*'
113+ sideEffects: None
114+ timeoutSeconds: 10
115+ ---
116+ apiVersion: admissionregistration.k8s.io/v1
89117kind: MutatingWebhookConfiguration
90118metadata:
91119 name: mopenstackcontrolplane.kb.io
@@ -142,6 +170,34 @@ webhooks:
142170 timeoutSeconds: 10
143171---
144172apiVersion: admissionregistration.k8s.io/v1
173+ kind: MutatingWebhookConfiguration
174+ metadata:
175+ name: mopenstackversion.kb.io
176+ webhooks:
177+ - admissionReviewVersions:
178+ - v1
179+ clientConfig:
180+ caBundle: ${CA_BUNDLE}
181+ url: https://${CRC_IP} :9443/mutate-core-openstack-org-v1beta1-openstackversion
182+ failurePolicy: Fail
183+ matchPolicy: Equivalent
184+ name: mopenstackversion.kb.io
185+ objectSelector: {}
186+ rules:
187+ - apiGroups:
188+ - core.openstack.org
189+ apiVersions:
190+ - v1beta1
191+ operations:
192+ - CREATE
193+ - UPDATE
194+ resources:
195+ - openstackversions
196+ scope: '*'
197+ sideEffects: None
198+ timeoutSeconds: 10
199+ ---
200+ apiVersion: admissionregistration.k8s.io/v1
145201kind: ValidatingWebhookConfiguration
146202metadata:
147203 name: vopenstackdataplanenodeset.kb.io
You can’t perform that action at this time.
0 commit comments