-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
feat(DNSimple): User API tokens #4274
feat(DNSimple): User API tokens #4274
Conversation
…IMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables
Welcome @IntegralProgrammer! |
Hi @IntegralProgrammer. Thanks for your PR. I'm waiting for a kubernetes-sigs 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. Instructions 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/test-infra repository. |
@IntegralProgrammer every feature requires a test. |
…IMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables Update documentation for these new environment variables
…IMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables Update tests to check that the Zones function returns the correct DNS zones when the DNSIMPLE_ZONES environment variable is set
…IMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables Update tests to check that the dnsimpleSuitableZone function works properly when the DNSIMPLE_ZONES environment variable is set
…IMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables Small refactoring to NewDnsimpleProvider function to improve its testability
…simpleProvider for testing its behavior when the DNSIMPLE_OAUTH environment variable is not set
…IMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables Update tests to check that the BuildDnsimpleProvider function (called by the NewDnsimpleProvider function) handles the DNSIMPLE_ACCOUNT_ID environment variable properly
os.Unsetenv("DNSIMPLE_OAUTH") | ||
_, err = NewDnsimpleProvider(endpoint.NewDomainFilter([]string{"example.com"}), provider.NewZoneIDFilter([]string{""}), true) |
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.
This change wasn't really within the scope of this PR but this should be added in any case as without it, NewDnsimpleProvider
isn't actually tested with an unset DNSIMPLE_OAUTH
environment variable.
Thank you for your feedback - I have added tests for this new feature in |
/ok-to-test |
@IntegralProgrammer Thanks. Now you need to fix what is required by the linter. you can test it locally with |
/retitle feat(DNSimple): User API tokens |
…IMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables Fix code linting error - use !skipWhoami instead of skipWhoami == false
…IMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables Fix code linting error - remove () from ZonesFromZoneString which only returns one value
provider/dnsimple/dnsimple.go
Outdated
whoamiResponse := &dnsimple.WhoamiResponse{} | ||
if !skipWhoami { | ||
var err error | ||
whoamiResponse, err = provider.identity.Whoami(context.Background()) | ||
if err != nil { | ||
return nil, err | ||
} | ||
} | ||
|
||
if dnsimpleAccountId == "" { | ||
provider.accountID = int64ToString(whoamiResponse.Data.Account.ID) | ||
} else { | ||
provider.accountID = dnsimpleAccountId |
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.
whoamiResponse := &dnsimple.WhoamiResponse{} | |
if !skipWhoami { | |
var err error | |
whoamiResponse, err = provider.identity.Whoami(context.Background()) | |
if err != nil { | |
return nil, err | |
} | |
} | |
if dnsimpleAccountId == "" { | |
provider.accountID = int64ToString(whoamiResponse.Data.Account.ID) | |
} else { | |
provider.accountID = dnsimpleAccountId | |
provider.accountID = dnsimpleAccountId | |
if provider.accountID == "" { | |
whoamiResponse, err := provider.identity.Whoami(context.Background()) | |
if err != nil { | |
return nil, err | |
} | |
provider.accountID = int64ToString(whoamiResponse.Data.Account.ID) |
I suggest to remove skipWhoami bool
and also to avoid if ... else
.
If you want to test also this part, you'll need to use mock.
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.
…IMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables Refactor the BuildDnsimpleProvider method so that it no longer needs the skipWhoami bool parameter
…IMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables Refactor the BuildDnsimpleProvider method so that it no longer needs the skipWhoami bool parameter
…IMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables Grammar fix in docs/tutorials/dnsimple.md Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com>
provider/dnsimple/dnsimple.go
Outdated
whoamiResponse, err := provider.identity.Whoami(context.Background()) | ||
if err != nil { | ||
return nil, err | ||
provider.accountID = dnsimpleAccountId |
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.
provider.accountID = dnsimpleAccountId | |
provider.accountID = os.Getenv("DNSIMPLE_ACCOUNT_ID") |
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.
Added in 487501d
provider/dnsimple/dnsimple.go
Outdated
oauthToken := os.Getenv("DNSIMPLE_OAUTH") | ||
dnsimpleAccountId := os.Getenv("DNSIMPLE_ACCOUNT_ID") |
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.
dnsimpleAccountId := os.Getenv("DNSIMPLE_ACCOUNT_ID") |
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.
Added in 487501d
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.
See my last suggestion about dnsimpleAccountId
+ Wdyt about keeping only NewDnsimpleProvider
func without adding BuildDnsimpleProvider
?
…IMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables Refactor the BuildDnsimpleProvider method so that the dnsimpleAccountId variable, which was only used once, can be removed
…IMPLE_ACCOUNT_ID and DNSIMPLE_ZONES environment variables Refactor so that the BuildDnsimpleProvider method can be removed and the NewDnsimpleProvider method be used exclusively instead
I've removed the need for the |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: szuecs 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 |
…rnal-dns to v0.14.2@3fcad62 by renovate (#22163) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [registry.k8s.io/external-dns/external-dns](https://github.com/kubernetes-sigs/external-dns) | patch | `v0.14.1` -> `v0.14.2` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>kubernetes-sigs/external-dns (registry.k8s.io/external-dns/external-dns)</summary> ### [`v0.14.2`](https://github.com/kubernetes-sigs/external-dns/releases/tag/v0.14.2) [Compare Source](https://github.com/kubernetes-sigs/external-dns/compare/v0.14.1...v0.14.2) #### What's Changed - kustomize-v0.14.1 by [@​Raffo](https://github.com/Raffo) in [https://github.com/kubernetes-sigs/external-dns/pull/4331](https://github.com/kubernetes-sigs/external-dns/pull/4331) - replace all links in tutorials for v0.14.1 by [@​Raffo](https://github.com/Raffo) in [https://github.com/kubernetes-sigs/external-dns/pull/4332](https://github.com/kubernetes-sigs/external-dns/pull/4332) - chore: upgrade ExternalDNS to go 1.22 by [@​mloiseleur](https://github.com/mloiseleur) in [https://github.com/kubernetes-sigs/external-dns/pull/4318](https://github.com/kubernetes-sigs/external-dns/pull/4318) - build(deps): bump the dev-dependencies group with 13 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4329](https://github.com/kubernetes-sigs/external-dns/pull/4329) - build(deps): bump the dev-dependencies group with 5 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4334](https://github.com/kubernetes-sigs/external-dns/pull/4334) - build(deps): bump the dev-dependencies group with 9 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4349](https://github.com/kubernetes-sigs/external-dns/pull/4349) - build(deps): bump the dev-dependencies group with 1 update by [@​dependabot](https://github.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4341](https://github.com/kubernetes-sigs/external-dns/pull/4341) - Add `dnsendpoint` CRD to Helm chart by [@​onedr0p](https://github.com/onedr0p) in [https://github.com/kubernetes-sigs/external-dns/pull/4322](https://github.com/kubernetes-sigs/external-dns/pull/4322) - build(deps): bump the dev-dependencies group with 13 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4361](https://github.com/kubernetes-sigs/external-dns/pull/4361) - build(deps): bump GrantBirki/json-yaml-validate from 2.6.1 to 2.6.2 in the dev-dependencies group by [@​dependabot](https://github.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4364](https://github.com/kubernetes-sigs/external-dns/pull/4364) - chore(chart): Released chart for v0.14.1 by [@​stevehipwell](https://github.com/stevehipwell) in [https://github.com/kubernetes-sigs/external-dns/pull/4357](https://github.com/kubernetes-sigs/external-dns/pull/4357) - chore: alphabetical order on providers by [@​mloiseleur](https://github.com/mloiseleur) in [https://github.com/kubernetes-sigs/external-dns/pull/4350](https://github.com/kubernetes-sigs/external-dns/pull/4350) - doc: advertise current plan on providers by [@​mloiseleur](https://github.com/mloiseleur) in [https://github.com/kubernetes-sigs/external-dns/pull/4365](https://github.com/kubernetes-sigs/external-dns/pull/4365) - Fix(ipv6): support ipv6 shortener and expander equal by [@​dongjiang1989](https://github.com/dongjiang1989) in [https://github.com/kubernetes-sigs/external-dns/pull/4351](https://github.com/kubernetes-sigs/external-dns/pull/4351) - feat(WebhookProvider): Let WebhookProvider return `SoftError` on response status codes >= 500 by [@​SimonKienzler](https://github.com/SimonKienzler) in [https://github.com/kubernetes-sigs/external-dns/pull/4319](https://github.com/kubernetes-sigs/external-dns/pull/4319) - Webhook provider: Use correct error gauge in `AdjustEndpoints()` func by [@​SimonKienzler](https://github.com/SimonKienzler) in [https://github.com/kubernetes-sigs/external-dns/pull/4374](https://github.com/kubernetes-sigs/external-dns/pull/4374) - build(deps): bump the dev-dependencies group with 18 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4381](https://github.com/kubernetes-sigs/external-dns/pull/4381) - Add exclude domains value in Chart by [@​bford-evs](https://github.com/bford-evs) in [https://github.com/kubernetes-sigs/external-dns/pull/4380](https://github.com/kubernetes-sigs/external-dns/pull/4380) - docs(aws): fix typo and upgrade cleanup flow by [@​franzudev](https://github.com/franzudev) in [https://github.com/kubernetes-sigs/external-dns/pull/4389](https://github.com/kubernetes-sigs/external-dns/pull/4389) - docs(gke): detail how to configure workload identity by [@​userbradley](https://github.com/userbradley) in [https://github.com/kubernetes-sigs/external-dns/pull/4373](https://github.com/kubernetes-sigs/external-dns/pull/4373) - chore(ci): fix failing test by [@​mloiseleur](https://github.com/mloiseleur) in [https://github.com/kubernetes-sigs/external-dns/pull/4397](https://github.com/kubernetes-sigs/external-dns/pull/4397) - chore: Update controller-tools version to v0.14.0 by [@​dongjiang1989](https://github.com/dongjiang1989) in [https://github.com/kubernetes-sigs/external-dns/pull/4400](https://github.com/kubernetes-sigs/external-dns/pull/4400) - chore(ci): update golangci-lint to v1.57.2 by [@​dongjiang1989](https://github.com/dongjiang1989) in [https://github.com/kubernetes-sigs/external-dns/pull/4406](https://github.com/kubernetes-sigs/external-dns/pull/4406) - chore: upgrade ExternalDNS to go 1.22.2 by [@​mloiseleur](https://github.com/mloiseleur) in [https://github.com/kubernetes-sigs/external-dns/pull/4414](https://github.com/kubernetes-sigs/external-dns/pull/4414) - build(deps): bump the dev-dependencies group across 1 directory with 4 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4412](https://github.com/kubernetes-sigs/external-dns/pull/4412) - build(deps): bump the dev-dependencies group across 1 directory with 24 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4416](https://github.com/kubernetes-sigs/external-dns/pull/4416) - custom Azure Active Directory Authority Host by [@​Jeremy-Boyle](https://github.com/Jeremy-Boyle) in [https://github.com/kubernetes-sigs/external-dns/pull/4210](https://github.com/kubernetes-sigs/external-dns/pull/4210) - feat(DNSimple): User API tokens by [@​IntegralProgrammer](https://github.com/IntegralProgrammer) in [https://github.com/kubernetes-sigs/external-dns/pull/4274](https://github.com/kubernetes-sigs/external-dns/pull/4274) - docs: annotation placement for azuredns tutorial by [@​jonas-budde](https://github.com/jonas-budde) in [https://github.com/kubernetes-sigs/external-dns/pull/4415](https://github.com/kubernetes-sigs/external-dns/pull/4415) - feat(azure): add zone name filter for Azure Private DNS by [@​khuedoan](https://github.com/khuedoan) in [https://github.com/kubernetes-sigs/external-dns/pull/4346](https://github.com/kubernetes-sigs/external-dns/pull/4346) - test: detect no change necessary with provider specific config by [@​szuecs](https://github.com/szuecs) in [https://github.com/kubernetes-sigs/external-dns/pull/4189](https://github.com/kubernetes-sigs/external-dns/pull/4189) - docs: add setup example with helm chart on some providers by [@​omerap12](https://github.com/omerap12) in [https://github.com/kubernetes-sigs/external-dns/pull/4405](https://github.com/kubernetes-sigs/external-dns/pull/4405) - test: controller run() and successfully shutdown by [@​szuecs](https://github.com/szuecs) in [https://github.com/kubernetes-sigs/external-dns/pull/3639](https://github.com/kubernetes-sigs/external-dns/pull/3639) - fix syntax on cloudflare externalDNS by [@​ilyesAj](https://github.com/ilyesAj) in [https://github.com/kubernetes-sigs/external-dns/pull/4436](https://github.com/kubernetes-sigs/external-dns/pull/4436) - build(deps): bump the dev-dependencies group across 1 directory with 11 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4440](https://github.com/kubernetes-sigs/external-dns/pull/4440) - chore(chart): Adding extra containers by [@​omerap12](https://github.com/omerap12) in [https://github.com/kubernetes-sigs/external-dns/pull/4432](https://github.com/kubernetes-sigs/external-dns/pull/4432) - aws: add ca-west-1 region by [@​jeremy-albuixech](https://github.com/jeremy-albuixech) in [https://github.com/kubernetes-sigs/external-dns/pull/4444](https://github.com/kubernetes-sigs/external-dns/pull/4444) - fix: duplicated endpoint per hosted zone by [@​leonardocaylent](https://github.com/leonardocaylent) in [https://github.com/kubernetes-sigs/external-dns/pull/4296](https://github.com/kubernetes-sigs/external-dns/pull/4296) - build(deps): bump actions/checkout from 4.1.4 to 4.1.5 in the dev-dependencies group by [@​dependabot](https://github.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4438](https://github.com/kubernetes-sigs/external-dns/pull/4438) - Add IPv6 AAAA record support to PiHole provider by [@​PseudoResonance](https://github.com/PseudoResonance) in [https://github.com/kubernetes-sigs/external-dns/pull/4324](https://github.com/kubernetes-sigs/external-dns/pull/4324) - fix: soft error on cloudflare rate limits by [@​ebachle](https://github.com/ebachle) in [https://github.com/kubernetes-sigs/external-dns/pull/4437](https://github.com/kubernetes-sigs/external-dns/pull/4437) - Update cloudflare.md by [@​mfreeman451](https://github.com/mfreeman451) in [https://github.com/kubernetes-sigs/external-dns/pull/4449](https://github.com/kubernetes-sigs/external-dns/pull/4449) - Fix headings, whitespace by [@​stefanlasiewski](https://github.com/stefanlasiewski) in [https://github.com/kubernetes-sigs/external-dns/pull/4457](https://github.com/kubernetes-sigs/external-dns/pull/4457) - docs: add reference to anexia webhook provider by [@​ProbstenHias](https://github.com/ProbstenHias) in [https://github.com/kubernetes-sigs/external-dns/pull/4441](https://github.com/kubernetes-sigs/external-dns/pull/4441) - fix logline mentioning plugin api by [@​Raffo](https://github.com/Raffo) in [https://github.com/kubernetes-sigs/external-dns/pull/4459](https://github.com/kubernetes-sigs/external-dns/pull/4459) - docs: lint gke docs + make terraform config more secure by [@​DrFaust92](https://github.com/DrFaust92) in [https://github.com/kubernetes-sigs/external-dns/pull/4456](https://github.com/kubernetes-sigs/external-dns/pull/4456) - build(deps): bump action-stars/install-tool-from-github-release from 0.2.2 to 0.2.3 in the dev-dependencies group by [@​dependabot](https://github.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4464](https://github.com/kubernetes-sigs/external-dns/pull/4464) - changed documentation to include more details description when using API Tokens by [@​rhjensen79](https://github.com/rhjensen79) in [https://github.com/kubernetes-sigs/external-dns/pull/4474](https://github.com/kubernetes-sigs/external-dns/pull/4474) - fix: add clarification to endpoint unit tests by [@​leonardocaylent](https://github.com/leonardocaylent) in [https://github.com/kubernetes-sigs/external-dns/pull/4462](https://github.com/kubernetes-sigs/external-dns/pull/4462) - build(deps): bump the dev-dependencies group across 1 directory with 19 updates by [@​mloiseleur](https://github.com/mloiseleur) in [https://github.com/kubernetes-sigs/external-dns/pull/4476](https://github.com/kubernetes-sigs/external-dns/pull/4476) - build(deps): bump the dev-dependencies group across 1 directory with 19 updates by [@​dependabot](https://github.com/dependabot) in [https://github.com/kubernetes-sigs/external-dns/pull/4475](https://github.com/kubernetes-sigs/external-dns/pull/4475) #### New Contributors - [@​onedr0p](https://github.com/onedr0p) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4322](https://github.com/kubernetes-sigs/external-dns/pull/4322) - [@​SimonKienzler](https://github.com/SimonKienzler) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4319](https://github.com/kubernetes-sigs/external-dns/pull/4319) - [@​bford-evs](https://github.com/bford-evs) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4380](https://github.com/kubernetes-sigs/external-dns/pull/4380) - [@​franzudev](https://github.com/franzudev) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4389](https://github.com/kubernetes-sigs/external-dns/pull/4389) - [@​userbradley](https://github.com/userbradley) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4373](https://github.com/kubernetes-sigs/external-dns/pull/4373) - [@​Jeremy-Boyle](https://github.com/Jeremy-Boyle) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4210](https://github.com/kubernetes-sigs/external-dns/pull/4210) - [@​IntegralProgrammer](https://github.com/IntegralProgrammer) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4274](https://github.com/kubernetes-sigs/external-dns/pull/4274) - [@​jonas-budde](https://github.com/jonas-budde) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4415](https://github.com/kubernetes-sigs/external-dns/pull/4415) - [@​khuedoan](https://github.com/khuedoan) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4346](https://github.com/kubernetes-sigs/external-dns/pull/4346) - [@​omerap12](https://github.com/omerap12) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4405](https://github.com/kubernetes-sigs/external-dns/pull/4405) - [@​ilyesAj](https://github.com/ilyesAj) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4436](https://github.com/kubernetes-sigs/external-dns/pull/4436) - [@​jeremy-albuixech](https://github.com/jeremy-albuixech) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4444](https://github.com/kubernetes-sigs/external-dns/pull/4444) - [@​leonardocaylent](https://github.com/leonardocaylent) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4296](https://github.com/kubernetes-sigs/external-dns/pull/4296) - [@​PseudoResonance](https://github.com/PseudoResonance) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4324](https://github.com/kubernetes-sigs/external-dns/pull/4324) - [@​ebachle](https://github.com/ebachle) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4437](https://github.com/kubernetes-sigs/external-dns/pull/4437) - [@​mfreeman451](https://github.com/mfreeman451) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4449](https://github.com/kubernetes-sigs/external-dns/pull/4449) - [@​ProbstenHias](https://github.com/ProbstenHias) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4441](https://github.com/kubernetes-sigs/external-dns/pull/4441) - [@​DrFaust92](https://github.com/DrFaust92) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4456](https://github.com/kubernetes-sigs/external-dns/pull/4456) - [@​rhjensen79](https://github.com/rhjensen79) made their first contribution in [https://github.com/kubernetes-sigs/external-dns/pull/4474](https://github.com/kubernetes-sigs/external-dns/pull/4474) **Full Changelog**: kubernetes-sigs/external-dns@v0.14.1...v0.14.2 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMSIsInVwZGF0ZWRJblZlciI6IjM3LjM2OC4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInVwZGF0ZS9kb2NrZXIvZ2VuZXJhbC9ub24tbWFqb3IiXX0=-->
Description
This Pull Request introduces the following environment variables for overriding data retrieved from the DNSimple API. This is needed when using User API DNSimple tokens (as opposed to Account API DNSimple tokens) as this data cannot be accessed with a User API token:
DNSIMPLE_ACCOUNT_ID
: The DNSimple account which owns the DNS records to be updatedDNSIMPLE_ZONES
: A comma separated list of DNS Zones in DNSimple which External-DNS will be allowed to manipulateFixes #4273
Checklist