-
Notifications
You must be signed in to change notification settings - Fork 39.8k
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
Process cluster-scoped owners correctly #57211
Conversation
c919360
to
cd319c0
Compare
/retest |
@kubernetes/sig-api-machinery-bugs @kubernetes/sig-api-machinery-pr-reviews |
/retest |
@caesarxuchao, this essentially implements your suggestion from https://github.com/kubernetes/kubernetes/pull/54943/files#r148858189. @liggitt has some tests incoming later, but this LGTM conceptually. |
cd319c0
to
800ca27
Compare
added integration test that delays watch events from the cluster-scoped owner. fails 100% of the time on master. passes 100% of the time on this branch. |
800ca27
to
83f3c10
Compare
83f3c10
to
34c3a25
Compare
/retest |
I skimmed through and it lgtm. I'm OOO until Jan. 3, @ironcladlou could you help review the code? Thanks. /approve |
LGTM, very simple approach. Many thanks to @liggitt! |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: caesarxuchao, ironcladlou, liggitt Associated issue: #54940 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Removing label |
[MILESTONENOTIFIER] Milestone Pull Request Labels Incomplete @caesarxuchao @ironcladlou @liggitt Action required: This pull request requires label changes. If the required changes are not made within 2 days, the pull request will be moved out of the v1.9 milestone. priority: Must specify exactly one of |
@liggitt This is targeting 1.9.1, right? |
/test all [submit-queue is verifying that this PR is safe to merge] |
@enisoc yes |
Automatic merge from submit-queue (batch tested with PRs 57211, 56150, 56368, 56271, 55957). If you want to cherry-pick this change to another branch, please follow the instructions here. |
Commit found in the "release-1.9" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked. |
Rework of #54943
Fixes #54940
Uses correct scope info from the restmapper at point of object lookup.