airshipctl/manifests/function/capd/v0.4.2/webhook/webhookcainjection_patch.yaml
Snehal 47041eda24 CAPD v0.4.2 manifests
* The current PS adds manifests files to update CAPD components
to 0.4.2 version

Change-Id: Ie57201a901277eed122052f0a1c75ed21fa77e54
2021-10-25 07:28:39 +00: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: ValidatingWebhookConfiguration
metadata:
name: validating-webhook-configuration
annotations:
cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME)
---
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
metadata:
name: mutating-webhook-configuration
annotations:
cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME)