-
Notifications
You must be signed in to change notification settings - Fork 602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make flux bootstrap
commit messages descriptive
#723
Comments
Do you think #904 went far enough, or should we go further and add the versions of which controllers have been changed to the commit message? |
I think there is another enhancement that would be nice, somewhat unrelated, (but if I'm picking this issue up I can maybe handle both) -- |
Nor does |
As a suite of microservices, I think there are some enhancements that Flux could offer that wouldn't have made sense in other monolithic services like Kubernetes proper. The Since there are some annotations on the namespace that we could check, it would be easy (sounds like I'm volunteering...) to make
The kubectl CLI however does warn on every command if your CLI has a version skew that is outside of the compatible range, for example when the server is on 1.20.x and client is on 1.22.x. If we are using that as a model, then flux CLI will become very annoying to use when the versions don't match exactly, (or if we don't find any match inside of the same minor release?) I don't think we have a version skew policy, I think users are expected to use a matching version everywhere. Maybe we can warn them like Fortunately when it comes to diffing version numbers, we also don't have to contend with the same mess of version numbers that are in
That is about as clean as it gets, for diffing...
Things like Anyway, this will have to be a separate issue since it has practically nothing to do with the original request to make |
At present, running
flux bootstrap
will always commit with the same commit message:Add manifests
. This does not tell the user much about the change in the commit when they are inspecting the Git repository using e.g.git log
.The commit message should be changed to something that includes the version, or maybe even include if it was an install or an upgrade.
In addition, we may want to list the versions of all (changed) controllers in the long commit message.
The text was updated successfully, but these errors were encountered: