Files
kubernetes/pkg/apiserver
Kubernetes Submit Queue 3a71e8c9f4 Merge pull request #30457 from ericchiang/reorder-autenticators
Automatic merge from submit-queue

pkg/apiserver/authenticator: reorder oidc plugin to auth after service accounts

Both plugins verify JWTs, but the OpenID Connect plugin performs
much worse when faced with cache misses. Reorder the plugins so
the service account plugin tries to authenticate a bearer token
first.

I had a fun time with this by writing an OpenID Connect provider that stores its data in third party resources. When it's running in the cluster it uses a service account and caused some interesting behavior when the keys expired.

Our OpenID Connect plugin needs a more sophisticated caching model to avoid continuously re-requesting keys when seeing a lot of tokens it doesn't recognize. However, I feel this reordering is generally useful since service accounts will be more common than OpenID Connect tokens.

cc @kubernetes/sig-auth
2016-08-15 09:39:02 -07:00
..
2016-08-12 12:27:19 +02:00
2016-08-04 01:15:15 +03:00
2016-07-16 13:48:21 -04:00
2016-08-09 12:39:40 -07:00
2016-08-04 01:15:15 +03:00
2016-03-02 20:46:32 -05:00
2016-08-02 15:12:39 +03:00
2016-08-02 15:12:39 +03:00
2016-07-16 12:29:11 +08:00