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

     1  # This file is for teaching kustomize how to substitute name and namespace reference in CRD
     2  nameReference:
     3  - kind: Service
     4    version: v1
     5    fieldSpecs:
     6    - kind: CustomResourceDefinition
     7      version: v1
     8      group: apiextensions.k8s.io
     9      path: spec/conversion/webhook/clientConfig/service/name
    10  
    11  namespace:
    12  - kind: CustomResourceDefinition
    13    version: v1
    14    group: apiextensions.k8s.io
    15    path: spec/conversion/webhook/clientConfig/service/namespace
    16    create: false
    17  
    18  varReference:
    19  - path: metadata/annotations