-
Notifications
You must be signed in to change notification settings - Fork 135
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
Update fluxcd/pkg deps and k8s deps to 1.31.1 #931
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The api package needs to be updated too, also the controller go.mod should be on the same version on SC go.mod which is go 1.22.5
.
github.com/fluxcd/pkg/git v0.20.0 | ||
github.com/fluxcd/pkg/apis/event v0.10.1 | ||
github.com/fluxcd/pkg/apis/meta v1.6.1 | ||
github.com/fluxcd/pkg/git v0.21.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CI failed because the following gets added to go.mod
go 1.22.4
toolchain go1.23.1
After closer inspection by updating the packages one by one, this happens only when pkg/git is updated. Looking at pkg/git's go.mod, there's go 1.22.4
in the mod file https://github.com/fluxcd/pkg/blob/30c101fc7c9fac4d84937ff4890a3da46a9db2dd/git/go.mod#L3. Everywhere else, I believe we have it to 1.22.0.
pkg/git is also imported in SC but there we didn't need such a change.
After try a few things, it seems updating the go version in the go.mod file removes the need for toolchain
. This is what SC has it, go 1.22.5
.
e80a62c
to
afbab29
Compare
Signed-off-by: Sunny <[email protected]>
afbab29
to
7407570
Compare
CI failures have been resolved and also updated the api package. Should be good now. |
No description provided.