website icon indicating copy to clipboard operation
website copied to clipboard

Add Kustomize nameReference documentation for HelmRepository sourceRef/name

Open kphunter opened this issue 2 years ago • 0 comments

It might help to have some additional documentation about how to teach kustomize to substitute HelmRelease names. For those who use configMap/secretGenerators, adding the following section to a kustomizeconfig.yaml would keep the HelmRelease and HelmRepository in sync:

nameReference:
- kind: HelmRepository
  fieldSpecs:
  - path: spec/chart/spec/sourceRef/name
    kind: HelmRelease

Seems like this may have been part of the issue here: https://github.com/fluxcd/flux2/issues/445.

kphunter avatar Apr 15 '23 04:04 kphunter