-
Notifications
You must be signed in to change notification settings - Fork 148
update client go to the latest version #490
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 client go to the latest version #490
Conversation
|
Welcome @kvalliyurnatt! |
|
Hi @kvalliyurnatt. Thanks for your PR. I'm waiting for a kubernetes-csi member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/ok-to-test |
|
Interesting why dependabot does not update it? /lgtm |
| k8s.io/apimachinery v0.32.2 | ||
| k8s.io/apiserver v0.32.0 | ||
| k8s.io/client-go v1.5.2 | ||
| k8s.io/client-go v0.32.3 |
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 client-go version is overridden by L84, so this change theoretically shouldn't do anything
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.
@msau42 is there a reason to keep L84 around or could we remove that ?
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 client-go version is overridden by L84, so this change theoretically shouldn't do anything
I think it's better to remove replace in go.mod if not necessary? Actually, I found this issue on CSI AIO testing. And this could affect users relying on this repository.
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.
I removed the replace on L84
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.
I think we should just remove all the replace statements. We only need them if we import k8s.io/kubernetes (which is not supported). But we have never imported that from git history of go.mod.
| github.com/google/gofuzz v1.2.0 // indirect | ||
| github.com/kubernetes-csi/csi-lib-utils v0.21.0 | ||
| golang.org/x/oauth2 v0.25.0 // indirect | ||
| golang.org/x/term v0.28.0 // indirect |
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.
I think it is strange that these 3 indirect requires are not in the block below. Maybe we can take the chance to fix this too.
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.
It's doesn't match the issue, We can fix it individually
go.mod
Outdated
|
|
||
| replace k8s.io/client-go => k8s.io/client-go v0.32.0 | ||
|
|
||
| replace k8s.io/component-base => k8s.io/component-base v0.32.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.
I think all these replace can be removed?
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.
Agreed
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.
Then why don't we just remove these?
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.
@kvalliyurnatt could you remove all these replace?
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.
done
|
/release-note-none |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kvalliyurnatt, msau42 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind bug
What this PR does / why we need it:
This PR updates the client-go version to v0.32.3, currently this is set to v1.5.2 which is a really old version of client-go. Not sure if this was introduced due to some specific need.
Which issue(s) this PR fixes:
Fixes #489
Does this PR introduce a user-facing change?:
NONE