airshipctl/manifests/function/cacpk/v0.3.7/webhook/webhookcainjection_patch.yaml
Sirajudeen 4e63c1dda2 Upgrade capi to v0.3.7 and capm3 to v0.3.2
* Added v0.3.7 version of capi
* Added v0.3.7 version of cacpk
* Added v0.3.2 version of camp4

Change-Id: I7b574ef8277192be8e5162384287e9e9ec211a1e
2020-09-14 19:56:47 +00: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)