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