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 kube to 0.31.0, controller-runtime to v0.19.0, and fix generics issues #186

Closed

Conversation

perdasilva
Copy link
Contributor

@perdasilva perdasilva commented Aug 16, 2024

Description of the change:
Bumps kube to v0.31.0 and controller-runtime to v0.19.0. Fixes deprecations and changes. Though, client-go has introduced some new interfaces and retired old ones. Hence, the API diff job failure.

Motivation for the change:
bring the library to the latest kube version

@perdasilva perdasilva requested a review from a team as a code owner August 16, 2024 16:22
Copy link

codecov bot commented Aug 16, 2024

Codecov Report

Attention: Patch coverage is 94.11765% with 1 line in your changes missing coverage. Please review.

Project coverage is 88.86%. Comparing base (b0db208) to head (e326148).
Report is 4 commits behind head on main.

Files Patch % Lines
handler/pause.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #186      +/-   ##
==========================================
- Coverage   88.88%   88.86%   -0.02%     
==========================================
  Files          18       18              
  Lines         576      575       -1     
==========================================
- Hits          512      511       -1     
  Misses         51       51              
  Partials       13       13              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

…s issues

Signed-off-by: Per Goncalves da Silva <pegoncal@redhat.com>
@@ -85,17 +85,17 @@ type EnqueueRequestForAnnotation[T client.Object] struct {
Type schema.GroupKind
}

var _ crtHandler.EventHandler = &EnqueueRequestForAnnotation[client.Object]{}
var _ crtHandler.TypedEventHandler[client.Object, reconcile.Request] = &EnqueueRequestForAnnotation[client.Object]{}
Copy link
Contributor

Choose a reason for hiding this comment

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

Internally EventHandler was already updated to be this type. Does this have to change?

Copy link
Contributor

Choose a reason for hiding this comment

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

It is a bit clearer.

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 23, 2024
@openshift-merge-robot
Copy link

PR needs rebase.

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-sigs/prow repository.

@tmshort
Copy link
Contributor

tmshort commented Aug 28, 2024

Closing in favor of #192

@tmshort tmshort closed this Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants