-
Notifications
You must be signed in to change notification settings - Fork 34
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
OCPBUGS-13978: bump k8s modules to 0.27.4 #194
Conversation
@alebedev87: This pull request references Jira Issue OCPBUGS-13978, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
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/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alebedev87 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 |
/assign @gcs278 |
Reviewed and have no issues. |
/lgtm cancel |
go.mod
Outdated
k8s.io/client-go v0.25.3 | ||
k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed | ||
sigs.k8s.io/controller-runtime v0.13.0 | ||
k8s.io/api v0.27.2 |
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.
0.27.3 is out, https://pkg.go.dev/k8s.io/api?tab=versions
Should we use the latest?
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.
Meantime they released 0.27.4
, so I bumped to it. Hope they'll not release any new before we decide to merge the PR :)
@alebedev87: This pull request references Jira Issue OCPBUGS-13978, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
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/test-infra repository. |
go.mod
Outdated
sigs.k8s.io/controller-runtime v0.13.0 | ||
k8s.io/api v0.27.4 | ||
k8s.io/apimachinery v0.27.4 | ||
k8s.io/client-go v0.27.2 |
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.
Should this be bumped to 0.27.4 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.
I think so, weird it wasn't bumped as a dependency.
go.mod
Outdated
k8s.io/apimachinery v0.27.4 | ||
k8s.io/client-go v0.27.4 | ||
k8s.io/utils v0.0.0-20230209194617-a36077c30491 | ||
sigs.k8s.io/controller-runtime v0.15.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 feel bad for commenting this...https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.15.1
Thnk we should bump?
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.
Seems to be a bug fix release, let me try.
@alebedev87: This pull request references Jira Issue OCPBUGS-13978, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
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/test-infra repository. |
Sorry for the delays. |
@alebedev87: all tests passed! Full PR test history. Your PR dashboard. 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/test-infra repository. I understand the commands that are listed here. |
@alebedev87: Jira Issue OCPBUGS-13978: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-13978 has been moved to the MODIFIED state. In response to this:
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/test-infra repository. |
Bump of
k8s.io/[email protected]
.[email protected]
bump was mandatory as it's the first version supporting k8s api >=0.27.x.Changes related to
[email protected]
:NewClient
changed the signature and the cache handlingNamespace
andMultiNamespaceCacheBuilder
are deprecated now,Cache
field was used insteadWithStatusSubresource
method has to be used in the fake client if the status is expected to be updatedsource.Kind
is not public anymoresigs.k8s.io/controller-runtime/pkg/envtest/printer
package has been removedwebhook.Validator
interface changed the signature of its methodsAlso
golangci-lint
(part ofverify
job) has been updated with thestaticcheck
andgosimple
linters which are suggested to be default. The staticcheck found some deprecated methods:https://pkg.go.dev/k8s.io/apimachinery/pkg/util/wait
deprecated a lot ofPollX
methods in favor of the context aware alternatives.k8s.io/utils/pointer
deprecated all the methods withPtr
in the name in favor of the methods without it