github.com/ferryproxy/api@v0.4.2/config/crd/patches/webhook_in_traffic_hubs.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: hubs.traffic.ferryproxy.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