-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
return 429 for STS throttling #630
Conversation
/retest |
4de7547
to
db531b9
Compare
/retest |
db531b9
to
1454f4e
Compare
/retest |
/assign @nckturner |
Can you add more context to the PR description? Would be good for people to understand why we're making this change. |
What testing have you done? |
thank you! updated the PR description |
The unit test has been included in the PR, server_test.go and token_test.go. Also integration and e2e test ran for each PR |
9e5bee9
to
fec7b95
Compare
/retest |
ad14a2f
to
e700330
Compare
/retest |
e700330
to
5280f85
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
retest |
/retest |
5280f85
to
a70f091
Compare
a70f091
to
5d8c245
Compare
5d8c245
to
063f505
Compare
/retest |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: dims, mmerkes, nnmin-aws The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
currently authenticator only returns 401 and it is hard to know if the request is really unauthorized or it is due to aws sts throttle.
This PR will create a new metric in authenticator to record the STS throttling count.
This PR will return 429 to api-server when authenticator got STS throttling from AWS STS service
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #