forked from kubernetes/kubernetes
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPSTREAM: 97820: handle webhook authenticator and authorizer error
webhook.WithExponentialBackoff returns an error, and the priority is: - A: if the last invocation of the webhook function returned an error that error should be returned, otherwise - B: the error associated with the context if it has been canceled or it has expired, or the ErrWaitTimeout returned by the wait package once all retries have been exhausted. caller should check the error returned by webhook.WithExponentialBackoff to handle both A and B. Currently, we only handle A.
- Loading branch information
Showing
3 changed files
with
41 additions
and
16 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
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