-
Notifications
You must be signed in to change notification settings - Fork 464
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
[controller-manager] Switch ControllerRegistration
controller to controller-runtime
#6629
[controller-manager] Switch ControllerRegistration
controller to controller-runtime
#6629
Conversation
/assign |
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.
Thank you for the PR. Had a great learning experience while reviewing the PR along with @oliver-goetz . Just have few minor comments.
test/integration/controllermanager/controllerregistration/controllerregistration_suite_test.go
Show resolved
Hide resolved
test/integration/controllermanager/controllerregistration/controllerregistration_test.go
Outdated
Show resolved
Hide resolved
...ontrollermanager/controller/controllerregistration/seedfinalizer/seedfinalizer_suite_test.go
Outdated
Show resolved
Hide resolved
...erregistration/controllerregistrationfinalizer/controllerregistrationfinalizer_suite_test.go
Outdated
Show resolved
Hide resolved
pkg/controllermanager/controller/controllerregistration/seed/add_test.go
Show resolved
Hide resolved
…er-runtime controller
For now, only the watches for the Seeds and ControllerRegistrations are added. Those were part of event handler functions removed in the previous two commits. The other event handlers will be refactored in the subsequent commits to ease the review process.
30ec5c1
to
6f34b45
Compare
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rfranzke 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 |
ControllerRegistration
controller to controller-runtime
ControllerRegistration
controller to controller-runtime
How to categorize this PR?
/area dev-productivity scalability
/kind enhancement
What this PR does / why we need it:
Refactor the
ControllerRegistration
controller tocontroller-runtime
.Which issue(s) this PR fixes:
Part of #4251
Special notes for your reviewer:
Generally, we want to follow this cookbook while refactoring existing controllers:
envtest
controller-runtime
Release note: