...

Text file src/edge-infra.dev/third_party/k8s/redpanda/manifests/default/webhookcainjection_patch.yaml

Documentation: edge-infra.dev/third_party/k8s/redpanda/manifests/default

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

View as plain text