Replies: 1 comment 2 replies
-
I am wondering if you have answers with #4235 and the 2 merged pull requests. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In a large organization it is difficult to coordinate the version of flux cli used by all actors (developers, testers, automation tools) and the main risk is to see clusters rolling back to older flux versions because the flux cli was not upgraded to the right version.
A typical use case is when a cluster gets deployed with a recent version of flux, then gets uninstalled (flux uninstall) and bootstrapped again but with a stale version of flux cli.
In the current flux version, a flux rollback will happen automatically (ie flux cli will rollback the flux controller versions) without any notice and this may actually cause lots of problems.
For example if the git repo for the cluster has flux Kustomization v1 and a bootstrap is executed with flux cli 0.41.2 on the same path/tag/branch, the deployment will fail in a very messy way.
To prevent this from happening, it would be most useful to add the following checks to flux cli bootstrap:
To allow occasional downgrades, we could add an option to skip the above checks (eg flux bootstrap --force)
Beta Was this translation helpful? Give feedback.
All reactions