Skip to content
Discussion options

You must be logged in to vote

Unfortunately there's no setting for that in Flux today. Before substituting anything, kustomize-controller checks the name of every key in every substituteFrom source, including keys you never reference, and stops at the first one that doesn't match ^[_[:alpha:]][_[:alpha:][:digit:]]*$ (varSubstitution in fluxcd/pkg). The kustomize.toolkit.fluxcd.io/substitute: disabled label doesn't help either, because the keys come from the Kustomization, not from the individual resource.

This is by design: an earlier request for keys with periods (#3959) was closed as not planned, and the docs point it out. There's an open issue asking Flux to skip malformed keys (#4885); a 👍 there is the way to push…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dhumphries-sainsburys
Comment options

Answer selected by dhumphries-sainsburys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants