airshipctl/manifests/function/cabpk/v0.3.3/webhook/webhookcainjection_patch.yaml
Dmitry Ukov 48bf0b87c3 Add version to bootstrap kubeadm provider
Contents of cabpk moved to appropriate directory to comply with
clusterctl requirements

Change-Id: Ic65ab669155ef3bdb4d1e87bae62506703cd9c04
2020-04-27 17:49:27 +04:00

16 lines
615 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/v1
kind: MutatingWebhookConfiguration
metadata:
name: mutating-webhook-configuration
annotations:
cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME)
---
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
name: validating-webhook-configuration
annotations:
cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME)