apiserver/plugin/pkg/authorizer/webhook
Monis Khan 2d35015235 webhook: use rest.Config instead of kubeconfig file as input
This change updates the generic webhook logic to use a rest.Config
as its input instead of a kubeconfig file.  This exposes all of the
rest.Config knobs to the caller instead of the more limited set
available through the kubeconfig format.  This is useful when this
code is being used as a library outside of core Kubernetes. For
example, a downstream consumer may want to override the webhook's
internals such as its TLS configuration.

Signed-off-by: Monis Khan <mok@vmware.com>

Kubernetes-commit: fef7d0ef1e1fbff65e8d445256036704bb9dbcbd
2021-07-23 11:15:47 -04: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
metrics.go adds metrics for authorization webhook 2021-03-17 16:30:40 +01:00
metrics_test.go adds metrics for authorization webhook 2021-03-17 16:30:40 +01:00
round_trip_test.go Switch kubelet/aggregated API servers to use v1 subjectaccessreviews 2019-11-04 23:29:56 -05:00
webhook.go webhook: use rest.Config instead of kubeconfig file as input 2021-07-23 11:15:47 -04:00
webhook_v1_test.go webhook: use rest.Config instead of kubeconfig file as input 2021-07-23 11:15:47 -04:00
webhook_v1beta1_test.go webhook: use rest.Config instead of kubeconfig file as input 2021-07-23 11:15:47 -04:00