apiserver/pkg/util/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
..
authentication.go apiserver: support egress selection name 'controlplane' and deprecate 'master' 2020-10-26 10:24:16 -04:00
authentication_test.go Search client auth with and without port 2019-09-02 22:38:55 -04:00
certs_test.go apiserver: add pkg/util/webhook tests 2017-04-26 20:36:15 +00:00
client.go Ensure webhook backend requests are not artificially rate-limited 2019-12-02 11:39:16 -05:00
error.go wire up the webhook rejection metrics in webhook handlers 2019-08-28 17:32:07 -07:00
gencerts.sh fix shellcheck in k8s.io/apiserver 2019-01-24 13:55:09 +08:00
serviceresolver.go Add port to ServiceResolvers 2019-03-01 16:32:50 -08:00
serviceresolver_test.go Add port to ServiceResolvers 2019-03-01 16:32:50 -08:00
validation.go Add port to ServiceResolvers 2019-03-01 16:32:50 -08:00
webhook.go make backoff parameters configurable for webhook 2020-10-30 11:25:32 -04:00
webhook_test.go handle webhook authenticator and authorizer error 2021-01-07 16:14:18 -05:00