sigs.k8s.io/cluster-api-provider-aws@v1.5.5/config/crd/patches/webhook_in_awsclustercontrolleridentities.yaml (about)

     1  # The following patch enables conversion webhook for CRD
     2  # CRD conversion requires k8s 1.13 or later.
     3  apiVersion: apiextensions.k8s.io/v1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    name: awsclustercontrolleridentities.infrastructure.cluster.x-k8s.io
     7  spec:
     8    conversion:
     9      strategy: Webhook
    10      webhook:
    11        conversionReviewVersions: ["v1", "v1beta1"]
    12        clientConfig:
    13          # this is "\n" used as a placeholder, otherwise it will be rejected by the apiserver for being blank,
    14          # but we're going to set it later using the cert-manager (or potentially a patch if not using cert-manager)
    15          caBundle: Cg==
    16          service:
    17            namespace: system
    18            name: webhook-service
    19            path: /convert