Add expiration LRU cache for webhook token authenticator.

This commit is contained in:
CJ Cullen
2016-05-14 16:35:11 -07:00
parent 066e70fac2
commit 57f96a932f
9 changed files with 38 additions and 18 deletions

View File

@@ -21,6 +21,8 @@ import (
)
// TokenReview attempts to authenticate a token to a known user.
// Note: TokenReview requests may be cached by the webhook token authenticator
// plugin in the kube-apiserver.
type TokenReview struct {
unversioned.TypeMeta `json:",inline"`