kustomize-controller
kustomize-controller copied to clipboard
[Feature request] More granural labels for envsubst
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.