kustomizeconfig.yaml 474 Bytes
Newer Older
Ioannis Plakas's avatar
Ioannis Plakas committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# 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