-
Notifications
You must be signed in to change notification settings - Fork 463
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
[gardenlet] Switch Shoot
care controller to controller-runtime
#7206
Conversation
/test pull-gardener-e2e-kind |
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.
Very nice PR, Thanks!
Just one minor nit, otherwise lgtm.
/assign |
/lgtm |
LGTM label has been added. Git tree hash: 9e9fdbde23974c2acf0db76b3a8806e777100b61
|
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.
Nice PR!
Few minor nits.
/lgtm |
LGTM label has been added. Git tree hash: 913e0f27c0f50c531189d9bbcb05a8b414c33699
|
/hold |
Now that we use a cached controller-runtime client (since a long while, actually), we don't need these custom cached listers anymore.
@shafeeqes @ary1992 I've pushed a new commit that includes some final cleanups of the legacy controller factory now that the Shoot care controller is the last one that gets refactored 🎉 PTAL :) |
788fa6b
to
eb37167
Compare
Awesome! Let's go 🚀 |
LGTM label has been added. Git tree hash: 4feef6b805788a4d689f7639ba0ac94b2c124d25
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: shafeeqes 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 |
@rfranzke: The following test failed, say
Full PR test history. Your PR dashboard. Command help for this repository. 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. |
/test pull-gardener-e2e-kind |
…ardener#7206) * Add integration test * Drop legacy custom listers Now that we use a cached controller-runtime client (since a long while, actually), we don't need these custom cached listers anymore. * Add documentation * Switch care reconciler to native controller-runtime controller * Cleanup no longer needed code * Move shoot status updater to bootstrapping phase * Address PR review feedback * Address PR review feedback * Final cleanups now that last controller was refactored
How to categorize this PR?
/area dev-productivity scalability
/kind enhancement
What this PR does / why we need it:
Refactor the
Shoot
care controller to controller-runtime.The other two controllers (migration, main) were already refactored separately (ref #7062 and #7082).
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:
This PR is very similar to parts of #6836.
/cc @shafeeqes @ary1992
Release note: