How can we force a rollout when variable substitution changes? #5416
-
|
We are using kustomize config map generators. But by adding flux variable substitution as a postbuild, we observ, that when the substituted variable value changes, the above mechanism does not apply, because kustomize is not triggered to produce a new suffix. Is there any solution to make kustomize aware of the substituted variable value to produce a changed configmap suffix? I've checked other discussions like #3611 but I can't see they are dealing with the same problem. If the above behaviour is not possible, what are the patterns in use to trigger a new rollout using kustomize in case only a value substituted by a flux postBuild has changed? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hello, I am dealing with the same issue, any solutions for that ? |
Beta Was this translation helpful? Give feedback.
-
|
We have just implemented a feature for solving this problem that will be released in Flux 2.7. You can find it here: |
Beta Was this translation helpful? Give feedback.
We have just implemented a feature for solving this problem that will be released in Flux 2.7. You can find it here:
#5446 (comment)