-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path02_GatewayCRDSchemaValidation.yaml
executable file
·24 lines (24 loc) · 2.96 KB
/
02_GatewayCRDSchemaValidation.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
apiVersion: admissionregistration.k8s.io/v1beta1
kind: ValidatingWebhookConfiguration
metadata:
name: "{{{ COMPOSITE_CONTROLLER_NAME }}}"
webhooks:
- name: "{{{ COMPOSITE_CONTROLLER_NAME }}}.check.webhook"
failurePolicy: Fail
sideEffects: None
rules:
- apiGroups:
- zalando.org
apiVersions:
- "*"
operations:
- CREATE
- UPDATE
resources:
- "{{{ CRD_PLURAL }}}"
clientConfig:
service:
namespace: fabric
name: "{{{ COMPOSITE_CONTROLLER_NAME }}}"
path: "/validate"
caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUUvRENDQXVTZ0F3SUJBZ0lFSUVJenFUQU5CZ2txaGtpRzl3MEJBUXdGQURCck1Rc3dDUVlEVlFRR0V3SkoNClJURVBNQTBHQTFVRUNCTUdSSFZpYkdsdU1ROHdEUVlEVlFRSEV3WkVkV0pzYVc0eEVEQU9CZ05WQkFvVEIxcGgNCmJHRnVaRzh4RnpBVkJnTlZCQXNURGtsdVpuSmhjM1J5ZFdOMGRYSmxNUTh3RFFZRFZRUURFd1pHWVdKeWFXTXcNCkhoY05NakV3TWpFM01UWTFPVEEzV2hjTk5EZ3dOekEwTVRZMU9UQTNXakI5TVFzd0NRWURWUVFHRXdKSlJURVANCk1BMEdBMVVFQ0JNR1JIVmliR2x1TVE4d0RRWURWUVFIRXdaRWRXSnNhVzR4RURBT0JnTlZCQW9UQjFwaGJHRnUNClpHOHhEekFOQmdOVkJBc1RCa1poWW5KcFl6RXBNQ2NHQTFVRUF4TWdkR1Z6ZEMxbllYUmxkMkY1TFc5d1pYSmgNCmRHOXlMbVpoWW5KcFl5NXpkbU13Z2dFaU1BMEdDU3FHU0liM0R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