Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ replace (
k8s.io/apimachinery => k8s.io/apimachinery v0.19.1
k8s.io/apiserver => k8s.io/apiserver v0.19.1
k8s.io/cli-runtime => k8s.io/cli-runtime v0.19.1
k8s.io/client-go => k8s.io/client-go v0.19.1
k8s.io/client-go => k8s.io/client-go v0.20.0
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

While updating k8s.io/client-go to v0.20.0 addresses the security vulnerability, it creates an inconsistency with other Kubernetes dependencies pinned to v0.19.1. This can lead to build failures or runtime issues. All k8s.io modules should be on a consistent version.

Given the require block uses v0.20.6 for k8s.io modules, it seems the intent is to upgrade to the 1.20 release series. To maintain compatibility, please update all k8s.io dependencies in this replace block to the same version. I'd recommend using v0.20.6 to match the require block. You should also update the comment on line 65.

Suggested change
k8s.io/client-go => k8s.io/client-go v0.20.0
k8s.io/client-go => k8s.io/client-go v0.20.6

k8s.io/cloud-provider => k8s.io/cloud-provider v0.19.1
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.19.1
k8s.io/code-generator => k8s.io/code-generator v0.19.1
Expand Down