-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Poll for server start using impersonation #17613
Poll for server start using impersonation #17613
Conversation
When we poll for server start on `/healthz` and/or `/healthz/ready` with the administrative `$KUBECONFIG` we do so as part of the `system:masters` group and therefore the response fromt these endpoints will succeed before the RBAC system is initialized as we bypass it. Using impersonation here allows the poll on these endpoints to not only wait for the server to start but also to wait for the RBAC initialization. Signed-off-by: Steve Kuznetsov <[email protected]>
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enj, stevekuznetsov 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 |
/retest |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. |
/cherrypick release-3.8 |
@liggitt: new pull request created: #17975 In response to this:
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. |
…-17613-to-release-3.8 Automatic merge from submit-queue. [release-3.8] Poll for server start using impersonation This is an automated cherry-pick of #17613 /assign liggitt
When we poll for server start on
/healthz
and/or/healthz/ready
withthe administrative
$KUBECONFIG
we do so as part of thesystem:masters
group and therefore the response fromt these endpointswill succeed before the RBAC system is initialized as we bypass it.
Using impersonation here allows the poll on these endpoints to not only
wait for the server to start but also to wait for the RBAC
initialization.
Signed-off-by: Steve Kuznetsov [email protected]
/cc @liggitt @deads2k @enj
Fixes #17574