treasuremap/manifests/function/synclabeller/upstream/crd/kustomizeconfig.yaml
digambar 0e25e9bfb2 Add SyncLabelller functions to target/workload phase
Change-Id: I059c6262999df273cceb7c7652b74f3f524b60ba
2021-04-14 15:11:33 +00:00

18 lines
474 B
YAML

# This file is for teaching kustomize how to substitute name and namespace reference in CRD
nameReference:
- kind: Service
version: v1
fieldSpecs:
- kind: CustomResourceDefinition
group: apiextensions.k8s.io
path: spec/conversion/webhookClientConfig/service/name
namespace:
- kind: CustomResourceDefinition
group: apiextensions.k8s.io
path: spec/conversion/webhookClientConfig/service/namespace
create: false
varReference:
- path: metadata/annotations