sigs.k8s.io/cluster-api@v1.7.1/config/default/webhookcainjection_patch.yaml (about) 1 # This patch add annotation to admission webhook config and 2 # the variables $(CERTIFICATE_NAMESPACE) and $(CERTIFICATE_NAME) will be substituted by kustomize. 3 # uncomment the following lines to enable mutating webhook 4 apiVersion: admissionregistration.k8s.io/v1 5 kind: MutatingWebhookConfiguration 6 metadata: 7 name: mutating-webhook-configuration 8 annotations: 9 cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME) 10 --- 11 apiVersion: admissionregistration.k8s.io/v1 12 kind: ValidatingWebhookConfiguration 13 metadata: 14 name: validating-webhook-configuration 15 annotations: 16 cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE)/$(CERTIFICATE_NAME)