Skip to content
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

⚠ Bump to k8s.io/* v0.33.0-alpha.1 #3104

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

sbueringer
Copy link
Member

Signed-off-by: Stefan Büringer [email protected]

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Feb 7, 2025
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Feb 7, 2025
@@ -1819,7 +1819,7 @@ var _ = Describe("manger.Manager", func() {
<-m.Elected()

Eventually(func() *corev1.Event {
evts, err := clientset.CoreV1().Events("").Search(m.GetScheme(), &ns)
evts, err := clientset.CoreV1().Events("").SearchWithContext(ctx, m.GetScheme(), &ns)
Copy link
Member Author

Choose a reason for hiding this comment

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

fyi. This was not a breaking change in client-go. Search is just deprecated in favor of SearchWithContext

@@ -109,6 +110,10 @@ func (f *FakeInformer) Run(<-chan struct{}) {
f.RunCount++
}

Copy link
Member Author

@sbueringer sbueringer Feb 7, 2025

Choose a reason for hiding this comment

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

The SharedIndexInformer interface has new additional methods. So I extended the FakeInformer accordingly.

This was expected and previously discussed in kubernetes/kubernetes#126387 (comment)

Copy link
Member Author

@sbueringer sbueringer Feb 7, 2025

Choose a reason for hiding this comment

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

In general there should be some follow-up to leverage changes like kubernetes/kubernetes#127709 & kubernetes/kubernetes#126387

Copy link

@pohly pohly Feb 7, 2025

Choose a reason for hiding this comment

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

You can use the "trick" from kubernetes/kubernetes#126379 with 's;// *Contextual logging: ;//logcheck:context //;' in your vendor directory, then run logcheck to get errors about using functions which have better alternatives.

We haven't sketched out a timeline yet, but for 1.33 I am hoping to adapt source code. Then in 1.34, those free-form comments could become proper logcheck:context tags and thus active for users of logcheck.

Copy link
Member Author

@sbueringer sbueringer Feb 7, 2025

Choose a reason for hiding this comment

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

Thx!

@sbueringer sbueringer changed the title Bump to k8s.io/* v0.33.0-alpha.1 ⚠ Bump to k8s.io/* v0.33.0-alpha.1 Feb 7, 2025
@sbueringer
Copy link
Member Author

/assign @alvaroaleman @vincepri

(cc @pohly just fyi, I think everything as expected so far)

@alvaroaleman alvaroaleman added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Feb 7, 2025
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 7, 2025
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 130eabcc979cf864fe69f6cb18e5aa9608e9c547

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alvaroaleman, sbueringer

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:
  • OWNERS [alvaroaleman,sbueringer]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@alvaroaleman
Copy link
Member

/hold
in case vince wants to check

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants