rancher / system-upgrade-controller

In your Kubernetes, upgrading your nodes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bump API version

AndreiBarbuOz opened this issue · comments

Is your feature request related to a problem? Please describe.
We want to import the github.com/rancher/system-upgrade-controller/pkg/apis package from github.com/rancher/system-upgrade-controller module to use the typed client
The import is causing conflicts though, because the imported k8s.io/api version is too old

k8s.io/api v0.21.14

Describe the solution you'd like
Bump the version. It looks like the project is active

a replace in the go.mod doesn't solve this for you?

hey @dweomer,

do you mean replace k8s.io/api => k8s.io/api v0.25.2?

we have such a directive already,
the failure come from the import of deprecated APIs by the version used by the SUC submodule, which are no longer found in newer versions of the imported k8s.io/api package