github.com/dmaizel/tests@v0.0.0-20210728163746-cae6a2d9cee8/kata-webhook/deploy/webhook-registration.yaml.tpl (about) 1 # Copyright (c) 2019 Intel Corporation 2 # 3 # SPDX-License-Identifier: Apache-2.0 4 5 apiVersion: admissionregistration.k8s.io/v1beta1 6 kind: MutatingWebhookConfiguration 7 metadata: 8 name: pod-annotate-webhook 9 labels: 10 app: pod-annotate-webhook 11 kind: mutator 12 webhooks: 13 - name: pod-annotate-webhook.kata.xyz 14 clientConfig: 15 service: 16 name: pod-annotate-webhook 17 namespace: default 18 path: "/mutate" 19 caBundle: CA_BUNDLE 20 rules: 21 - operations: [ "CREATE" ] 22 apiGroups: [""] 23 apiVersions: ["v1"] 24 resources: ["pods"]