github.com/redhat-appstudio/release-service@v0.0.0-20240507143925-083712697924/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  apiVersion: admissionregistration.k8s.io/v1
     4  kind: MutatingWebhookConfiguration
     5  metadata:
     6    name: mutating-webhook-configuration
     7    annotations:
     8      service.beta.openshift.io/inject-cabundle: "true"
     9  ---
    10  apiVersion: admissionregistration.k8s.io/v1
    11  kind: ValidatingWebhookConfiguration
    12  metadata:
    13    name: validating-webhook-configuration
    14    annotations:
    15      service.beta.openshift.io/inject-cabundle: "true"