Skip to content

switch the SA token authenticator to a client - #15340

Merged
openshift-bot merged 2 commits into
openshift:masterfrom
deads2k:auth-21-sa-token
Jul 25, 2017
Merged

openshift-bot merged 2 commits into
openshift:masterfrom
deads2k:auth-21-sa-token

Conversation

@deads2k

@deads2k deads2k commented Jul 19, 2017

Copy link
Copy Markdown
Contributor

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]

@deads2k deads2k assigned enj and simo5 Jul 19, 2017

@simo5 simo5 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@smarterclayton

smarterclayton commented Jul 19, 2017 via email

Copy link
Copy Markdown
Contributor

@deads2k

deads2k commented Jul 19, 2017

Copy link
Copy Markdown
Contributor Author

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.

@liggitt

liggitt commented Jul 19, 2017

Copy link
Copy Markdown
Contributor

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

@deads2k

deads2k commented Jul 19, 2017

Copy link
Copy Markdown
Contributor Author

no, server-side, 429

Heh, that would be an interesting thing. Should a server ever 429 a system:master? Probably not.

@smarterclayton

smarterclayton commented Jul 19, 2017 via email

Copy link
Copy Markdown
Contributor

@openshift-merge-robot

Copy link
Copy Markdown
Contributor

Labelling this PR as size/M

@enj

enj commented Jul 22, 2017

Copy link
Copy Markdown
Contributor

LGTM

@openshift-merge-robot

Copy link
Copy Markdown
Contributor

Labelling this PR as size/M

@openshift-merge-robot openshift-merge-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 24, 2017
@deads2k
deads2k force-pushed the auth-21-sa-token branch from 6d95287 to 744d042 Compare July 24, 2017 15:40
@openshift-merge-robot

Copy link
Copy Markdown
Contributor

Labelling this PR as size/L

@openshift-merge-robot openshift-merge-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 24, 2017
@deads2k

deads2k commented Jul 24, 2017

Copy link
Copy Markdown
Contributor Author

Added kubernetes/kubernetes#49395

[merge]

@deads2k deads2k added the lgtm Indicates that a PR is ready to be merged. label Jul 24, 2017
@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin test up to 744d042

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin merge up to 744d042

@openshift-bot

Copy link
Copy Markdown
Contributor

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)

@openshift-bot

openshift-bot commented Jul 25, 2017 •

Copy link
Copy Markdown
Contributor

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)

@openshift-bot
openshift-bot merged commit f2604f9 into openshift:master Jul 25, 2017
@deads2k
deads2k deleted the auth-21-sa-token branch August 3, 2017 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor the SA token verifier to use a REST client

7 participants