-
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
[controller-manager] Switch main Project
controller to controller-runtime
#6645
[controller-manager] Switch main Project
controller to controller-runtime
#6645
Conversation
I stress-tested the new integration test a bit to hopefully not introduce the next flaky test:
|
8a13cd7
to
54f1856
Compare
I dropped 8a13cd7 again, because it prevents |
/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.
Very nice PR, loved reviewing it :) The tests are just awesome!
ClusterRole aggregration only works with a running kube-controller-manager, thus it doesn't work in envtest. One way to test it, would be to mimic the controller. However, we have a proper setup for executing tests against a full-fledged cluster (e2e tests), so rather use this one instead. This makes sure, that the extension roles mechanism actually works e2e.
- only perform deletion action if gardener finalizer is still present - watch namespace to immediately release the project once its namespace is gone
Also, don't ignore errors when patching status
27bd019
to
6b391f6
Compare
/lgtm |
[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 |
/test pull-gardener-integration |
Project
controller to controller-runtime
Project
controller to controller-runtime
How to categorize this PR?
/area dev-productivity scalability
/kind enhancement
What this PR does / why we need it:
Project
controller tocontroller-runtime
.Project
controllerv0.12.3
Which issue(s) this PR fixes:
Part of #4251
Special notes for your reviewer:
Release note: