-
Notifications
You must be signed in to change notification settings - Fork 0
/
webhook.yaml
29 lines (29 loc) · 2.25 KB
/
webhook.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
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
name: validating-label-webhook
namespace: admission-controller
webhooks:
- name: label-abriment.admission-controller.svc
failurePolicy: Fail
sideEffects: None
admissionReviewVersions: ["v1","v1beta1"]
namespaceSelector:
matchLabels:
abriment/validation-webhooks: 'enabled'
rules:
- apiGroups: ["apps", ""]
resources:
- "deployments"
- "pods"
- "statefulsets"
apiVersions:
- "*"
operations:
- CREATE
clientConfig:
service:
name: label-abriment
namespace: admission-controller
path: /validate/
caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURMVENDQWhXZ0F3SUJBZ0lVSlQ2S293UVlLUFgzd3pyS1ZjOUl6eTRyMkFjd0RRWUpLb1pJaHZjTkFRRUwKQlFBd0pqRWtNQ0lHQTFVRUF3d2JRV0p5YVcxbGJuUWdRMjl1ZEhKdmJHeGxjaUJYWldKb2IyOXJNQjRYRFRJegpNVEV5TVRBM05EZ3pNbG9YRFRJME1URXlNREEzTkRnek1sb3dKakVrTUNJR0ExVUVBd3diUVdKeWFXMWxiblFnClEyOXVkSEp2Ykd4bGNpQlhaV0pvYjI5ck1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQkNnS0MKQVFFQXdmRE9OaElQVTZJaW5iY3NJc0E5RnJHVGloeXRJYm9zQ1VWMTEwNWFDekppYUpIZEFlUFJHNjNCbFlQcQp0RzEyYnNZRG1zQ09lc1ZQRVRrR2lnQlRBc1U5ZXFXZmcvcHZkYUFLVXBVMmtFTCtTNHhBRDR6VkpxQVNhdXVXCnpoS0orb0NIOEh2bzIvK2gwczA3MlcxNFVjQ3E1NlQ3bDdRYlhudnM4YlZXaWFhMTVmWlRkZG8wTnBxUD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