sigs.k8s.io/cluster-api-provider-azure@v1.14.3/config/capz/webhookcainjection_patch.yaml (about)

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