apiserver/plugin/pkg/authorizer/webhook
Abu Kashem 3ba02b7f93 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.

Kubernetes-commit: ae2b353fbf519b29d168c534f88c373fd67a1c31
2021-01-07 16:14:18 -05:00
..
certs_test.go Fix staticcheck failures on apiserver/plugin/pkg/{authenticator, authorizer} 2020-10-22 21:47:17 +00:00
gencerts.sh delete all duplicate empty blanks 2019-02-22 09:43:51 +08:00
round_trip_test.go Switch kubelet/aggregated API servers to use v1 subjectaccessreviews 2019-11-04 23:29:56 -05:00
webhook.go handle webhook authenticator and authorizer error 2021-01-07 16:14:18 -05:00
webhook_v1_test.go make backoff parameters configurable for webhook 2020-10-30 11:25:32 -04:00
webhook_v1beta1_test.go make backoff parameters configurable for webhook 2020-10-30 11:25:32 -04:00