Repository navigation
switch the SA token authenticator to a client - #15340
Conversation
|
Can I get ratelimited by the apiserver while authorizing?
|
We crank it pretty high. I could make one without rate limiting at all I suppose. |
no, server-side, 429 |
Heh, that would be an interesting thing. Should a server ever 429 a |
|
Given the caching we may be ok, but I think we may want to move to a client
based rate limiter anyway. We have too many clients to treat them all as
one big bucket. Rate limiting in general is on my shit list.
On Jul 19, 2017, at 4:06 PM, David Eads <[email protected]> wrote:
no, server-side, 429
Heh, that would be an interesting thing. Should a server ever 429 a
system:master? Probably not.
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub
<#15340 (comment)>,
or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABG_p7x8gweWBMhMlC4rAkBHP7imaz9sks5sPmHQgaJpZM4OdBFn>
.
|
|
Labelling this PR as size/M |
|
LGTM |
|
Labelling this PR as size/M |
6d95287 to
744d042
Compare
|
Labelling this PR as size/L |
|
Added kubernetes/kubernetes#49395 [merge] |
|
Evaluated for origin test up to 744d042 |
|
Evaluated for origin merge up to 744d042 |
|
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/3455/) (Base Commit: 727639e) (PR Branch Commit: 744d042) |
|
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin/1378/) (Base Commit: 970dc61) (PR Branch Commit: 744d042) (Image: devenv-rhel7_6479) |
fixes #15284
This simplifies the code at the cost of an extra hop. This ends up being ok since we're going to cache token results for a few seconds, so we won't pay the cost very often and using clients instead of storage makes life much easier.
@openshift/security
[test]