Update documentation for Cluster-API and Flux
[icn.git] / deploy / baremetal-operator / base / webhook / kustomizeconfig.yaml
1 # the following config is for teaching kustomize where to look at when substituting vars.
2 # It requires kustomize v2.1.0 or newer to work properly.
3 nameReference:
4 - kind: Service
5   version: v1
6   fieldSpecs:
7 #  - kind: MutatingWebhookConfiguration
8 #    group: admissionregistration.k8s.io
9 #    path: webhooks/clientConfig/service/name
10   - kind: ValidatingWebhookConfiguration
11     group: admissionregistration.k8s.io
12     path: webhooks/clientConfig/service/name
13
14 namespace:
15 #- kind: MutatingWebhookConfiguration
16 #  group: admissionregistration.k8s.io
17 #  path: webhooks/clientConfig/service/namespace
18 #  create: true
19 - kind: ValidatingWebhookConfiguration
20   group: admissionregistration.k8s.io
21   path: webhooks/clientConfig/service/namespace
22   create: true
23
24 varReference:
25 - path: metadata/annotations