github.com/k8snetworkplumbingwg/sriov-network-operator@v1.2.1-0.20240408194816-2d2e5a45d453/config/crd/patches/webhook_in_sriovoperatorconfigs.yaml (about)

     1  # The following patch enables a conversion webhook for the CRD
     2  apiVersion: apiextensions.k8s.io/v1
     3  kind: CustomResourceDefinition
     4  metadata:
     5    name: sriovoperatorconfigs.sriovnetwork.openshift.io
     6  spec:
     7    conversion:
     8      strategy: Webhook
     9      webhook:
    10        clientConfig:
    11          service:
    12            namespace: system
    13            name: webhook-service
    14            path: /convert
    15        conversionReviewVersions:
    16        - v1