vino/config/default/webhookcainjection_patch.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

16 lines
625 B
YAML

# This patch add annotation to admission webhook config and
# the variables $(CERTIFICATE_NAMESPACE) and $(CERTIFICATE_NAME) will be substituted by kustomize.
apiVersion: admissionregistration.k8s.io/v1beta1
kind: MutatingWebhookConfiguration
metadata:
name: mutating-webhook-configuration
annotations:
cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME)
---
apiVersion: admissionregistration.k8s.io/v1beta1
kind: ValidatingWebhookConfiguration
metadata:
name: validating-webhook-configuration
annotations:
cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME)