-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat(godaddy): add option to disable api key/secret validation #6056
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
base: master
Are you sure you want to change the base?
feat(godaddy): add option to disable api key/secret validation #6056
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @alexstojda. Thanks for your PR. I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
Can you detail your motivation? 🤔 How avoiding validation on the API key may fix the rate limit issue with the GoDaddy API? |
|
@mloiseleur I've updated the PR description to elaborate :) |
|
@alexstojda I'm probably missing something here 🤔. Are you saying that you hit the rate/limit because of a. a single startup request? |
My current theory is that it is the single startup request, because there is some undocumented monthly rate limits at the account level (and we use the same GoDaddy account across multiple environments). There is of course no documentation to support this, just what we've seen and what I documented in my testing previously in #4866 |
The previous change I made did not fix the rate limiting issues. This will provide an option to just skip the validation all together. Flag will default to false, so that existing installations will still validate the API Key/Secret # Conflicts: # pkg/apis/externaldns/types.go
# Conflicts: # pkg/apis/externaldns/types.go
b8c4b9b to
ab4a18a
Compare
What does it do ?
The previous change I made did not fix the rate limiting issues. This will provide an option to just skip the validation all together.
Flag will default to false, so that existing installations will still validate the API Key/Secret
Motivation
#4866 sought to fix an underlying issue by ignoring QUOTA_EXCEEDED errors on the initial validation call, since theory was that there was a per-endpoint limit. However, after running the fix for the last year, we still hit some other rate limit fairly often.
My understanding now is that there is still some global & account-level rate limit whose threshold is often hit because of the initial "validation" request.
Considering there are very few people reporting that they are running into this issue (I hypothesize this is because not many people are using the godaddy provider at a similar scale), I decided that it would be a more effective approach to provide the option to disable that validation on startup altogether.
More
Relates to #4866