-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Define TestableConfig in k/apiserver/pkg/util/flowcontrol #97353
Conversation
@kubernetes/sig-api-machinery-bugs |
/cc @wojtek-t |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: MikeSpreitzer 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 |
Collect the parameters of newTestableController into a named type. Also tolerate the surprising situation in which a request's user groups include neither `system:authenticated` nor `system:unauthenticated` --- because this is observed to happen in some tests. Also a few other minor fixups.
cae0e27
to
10df6d4
Compare
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.
LGTM
these refactoring is basically trivial
/lgtm Thanks! |
/triage accepted |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Collect the parameters of newTestableController into a named type.
Also tolerate the surprising situation in which a request's user
groups include neither
system:authenticated
norsystem:unauthenticated
--- because this is observed to happen insome tests.
Also a few other minor fixups.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
This was originally part of #97036 , and was factored into a separate PR in response to review.
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: