-
Notifications
You must be signed in to change notification settings - Fork 68
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
Bump golang dependencies #504
base: main
Are you sure you want to change the base?
Conversation
remove pin versions Signed-off-by: karampok <[email protected]>
Signed-off-by: karampok <[email protected]>
87c7cf5
to
b17e919
Compare
kind updated to have default version k8s 1.30 operator-sdk v1.38.0 moves to k8s 1.30 API's and Kubebuilder v4 Scaffolding, RBAC changed because the client-go bump start failing with error ``` pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:232: failed to list *v1.Deployment: deployments.apps is forbidd en: User "system:serviceaccount:metallb-system:manager-account" cannot list resource "deployments" in API group "apps" at the cluster scope ``` Signed-off-by: karampok <[email protected]>
@fedepaol after unpinning, there was a bit of mess (e.g. dep under require was updated x to y, but pined under replace in z, so when y never used, but when added manual the z the go mod start changing stuff ...). Anyway, I tried to clean the go.mod file, remove all the pins and tried to align everything around version1.30 and get a green ci. Pretty sure that you might find too many updates, not sure we can avoid it though. |
|
||
LeaderElection: *enableLeaderElection, | ||
LeaderElectionID: "metallb.io.metallboperator", | ||
// Namespace: envParams.Namespace, |
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.
This change is something what I need to double check ( in newer controller-runtime this field went away but did not see how was replaced)
Is this a BUG FIX or a FEATURE ?:
What this PR does / why we need it:
Special notes for your reviewer:
Removed pin versions for kubernetes 1.27, not trivial because that was 2 years ago.
Update various parts to be aligned on k8s 1.30 (not pinned) like k8s.io/* to 1.30.z, k8s.io/client-go to 0.30.z, kind, operator-sdk, kustomize.
Release note: