-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17613 from stevekuznetsov/skuznets/server-startup…
…-logic Automatic merge from submit-queue. Poll for server start using impersonation 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]> /cc @liggitt @deads2k @enj Fixes #17574
- Loading branch information
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters