kustomizeconfig.yaml 506 B

12345678910111213141516171819
  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. namespace:
  11. - kind: CustomResourceDefinition
  12. version: v1
  13. group: apiextensions.k8s.io
  14. path: spec/conversion/webhook/clientConfig/service/namespace
  15. create: false
  16. varReference:
  17. - path: metadata/annotations