vino/config/webhook/kustomizeconfig.yaml
Alexander Hughes 439feeb5a6 kubebuilder init
- Adds apache license
- Adds basic structure of project via
  kubebuilder init \
  --domain airshipit.org \
  --license apache2 \
  --repo github.com/att-comdev/vino

Signed-off-by: Alexander Hughes <Alexander.Hughes@pm.me>
2020-11-19 15:28:17 -05:00

26 lines
791 B
YAML

# the following config is for teaching kustomize where to look at when substituting vars.
# It requires kustomize v2.1.0 or newer to work properly.
nameReference:
- kind: Service
version: v1
fieldSpecs:
- kind: MutatingWebhookConfiguration
group: admissionregistration.k8s.io
path: webhooks/clientConfig/service/name
- kind: ValidatingWebhookConfiguration
group: admissionregistration.k8s.io
path: webhooks/clientConfig/service/name
namespace:
- kind: MutatingWebhookConfiguration
group: admissionregistration.k8s.io
path: webhooks/clientConfig/service/namespace
create: true
- kind: ValidatingWebhookConfiguration
group: admissionregistration.k8s.io
path: webhooks/clientConfig/service/namespace
create: true
varReference:
- path: metadata/annotations