Repository navigation
chore: bump k8s.io dependencies to v0.27.1 - #12015
Conversation
Adapt to changes in 1.27 client libs: * The OpenAPIGetter method is now private, but the Validator method does what is needed instead. * The function wait.PollImmediateUntil is deprecated. Switch to the recommended new function wait.PollUntilContextCancel. Related dependency changes: change k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 => v0.0.0-20230308215209-15aac26d736a And some transitive version changes: add github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 add github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 remove github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153 github.com/go-errors/errors v1.0.1 => v1.4.2 github.com/go-openapi/jsonpointer v0.19.5 => v0.19.6 github.com/go-openapi/jsonreference v0.20.0 => v0.20.1 github.com/go-openapi/swag v0.19.14 => v0.22.3 github.com/golang/protobuf v1.5.2 => v1.5.3 github.com/mailru/easyjson v0.7.6 => v0.7.7 github.com/onsi/ginkgo/v2 v2.4.0 => v2.9.1 github.com/onsi/gomega v1.23.0 => v1.27.4 github.com/rogpeppe/go-internal v1.9.0 => v1.10.0 golang.org/x/mod v0.8.0 => v0.9.0 golang.org/x/net v0.7.0 => v0.8.0 golang.org/x/term v0.5.0 => v0.6.0 golang.org/x/tools v0.6.0 => v0.7.0 gotest.tools/v3 v3.0.3 => v3.4.0 sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 => v0.0.0-20221116044647-bc3834ca7abd sigs.k8s.io/kustomize/api v0.12.1 => v0.13.2 sigs.k8s.io/kustomize/kyaml v0.13.9 => v0.14.1 Signed-off-by: Tom Wieczorek <[email protected]>
|
I see that @twz123 already opened the same PR, feel free to favor his PR if he wants to update it. |
|
Hey @yann-soubeyrand 👋 I didn't receive any feedback on PR #11894 yet, so I deliberately left the PR at 0.27.0, because I'm not sure what version policy the Helm maintainers have in mind when updating Kubernetes deps, and if it's okay for them to skip 0.27.0. Im fine with either of our PRs being merged, as long as Helm gains compatibility with k8s 1.27 :-) |
mattfarina
left a comment
There was a problem hiding this comment.
Note, the change to the Factory Interface is one of the few places we allow a change like this. This interface is a subset of the Kubernetes interface and that one can change between minor versions of Kubernetes. There is no option but to allow changes in that interface.
| // DynamicClient returns a dynamic client ready for use | ||
| DynamicClient() (dynamic.Interface, error) |
There was a problem hiding this comment.
Since it's failing CI due to deprecated methods, can you restore this on the Interface. We may not need it right now but we would like to minimize the Interface change for now.
There was a problem hiding this comment.
I restored the DynamicClient() method on the interface like you asked me, but I don’t get the link with the error in the CI (deprecation of the wait.PollImmediateUntil function)?
5d506be to
35c79ad
Compare
Signed-off-by: Yann Soubeyrand <[email protected]>
35c79ad to
bdd5656
Compare
What this PR does / why we need it:
This PR upgrades k8s.io dependencies to v0.27.1 and should fix #11996, #11997, #11998 and #11999.
Special notes for your reviewer:
If applicable: