github.com/IBM-Blockchain/fabric-operator@v1.0.4/config/crd/patches/webhook_in_ibporderers.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/v1beta1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    name: ibporderers.ibp.com
     7  spec:
     8    conversion:
     9      strategy: Webhook
    10      webhookClientConfig:
    11        # this is "\n" used as a placeholder, otherwise it will be rejected by the apiserver for being blank,
    12        # but we're going to set it later using the cert-manager (or potentially a patch if not using cert-manager)
    13        caBundle: Cg==
    14        service:
    15          namespace: system
    16          name: webhook-service
    17          path: /convert