kustomize-controller icon indicating copy to clipboard operation
kustomize-controller copied to clipboard

[Feature request] More granural labels for envsubst

Open ondrejkolin opened this issue 5 months ago • 0 comments

Introduce some more labels for a bit more granular control of substitution. Right now it's only possible to turn the substitution off on a resource by using the label kustomize.toolkit.fluxcd.io/substitute: disabled.

I would welcome an option to specify a JSON path. kustomize.toolkit.fluxcd.io/substitute-path: .metadata. would help greatly if you f.e. install complex CRDs which do substitutions on their own on later on.

Backstory: We have a horrible CRDs with a JSON as a string inside. This JSON also includes variables which are interpreted by the CRD operator.

ondrejkolin avatar Feb 07 '24 08:02 ondrejkolin