-
Notifications
You must be signed in to change notification settings - Fork 1
/
mutating-webhook.yaml
27 lines (27 loc) · 2.01 KB
/
mutating-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
#v1beta1 will be mutated to v1 when k8s version is > 1.15
apiVersion: admissionregistration.k8s.io/v1beta1
kind: MutatingWebhookConfiguration
metadata:
name: mutating-quarkus-admission-controller
webhooks:
- name: mutating.quarkus-admission-controller.sevel.eu
rules:
- apiGroups:
- "*"
apiVersions:
- "*"
operations:
- CREATE
- UPDATE
resources:
- deployments
namespaceSelector:
matchLabels:
admission: enabled
clientConfig:
service:
namespace: admission
name: quarkus-admission-controller
path: /mutate
caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUN5RENDQWJDZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRFNU1EZ3hNVEE0TkRBeU9Gb1hEVEk1TURnd09EQTROREF5T0Zvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BUUVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTFVTClhzSzRIUzlVSDcxUVBrRXREZmtFbFlxTDIzdUxhQmJzRFRvSWFxbVgvWkJrb0g0R040THozSlhXTGh6L3MxTmMKUUxXM2hKOTNqZDBWWUliZVN4TllKaVh1OXJlZkRHR2tpZnhsOGZjRzRBdEoxSms2OFgxV3hzNXdvMGdhSi82QwowT0xaUUxnM0loMld4ck51bktJckdNUXZIVkFqR2ZDWjd5WGN6SkpqZnZ2b255aWpFT01QTm9aWThsNDdYdWszCkdvdVdXRTQ3MkFOcWRKL0JmQy8rVEdKVVpETmpzaEdBM09Mdk5BQTNtVWtjSVpTMTBqZzhXV3I5L0VpTDJyZ28Kd0JmL1NQSWRpV0NtV1d5aEZZZHcySkdGWXh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