Skip to content
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(external-dns): Add zone-id filters by default when external_dns_route53_zone_arns is defined #343

Conversation

egarbi
Copy link

@egarbi egarbi commented Jan 18, 2024

What does this PR do?

It adds a feature to pass zone IDs as filters to external-dns. filters are parsed from external_dns_route53_zone_arns

Motivation

100% of users passing ARN(s) in external_dns_route53_zone_arns will benefit of this feature.

  • Enhance reliability when adding records to specific zones.
  • Prevent "Access Denied" errors by aligning zone retrieval with the intended zone for record addition.
  • Reduce AWS Route 53 API calls, minimizing the risk of rate-limiting.

More

  • Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
  • Yes, I ran pre-commit run -a with this PR

For Moderators

  • E2E Test successfully complete before merge?

Additional Notes

I know anyone can add this by passing the values to Helm in a variable. But having the module doing it by default is convenient and I cannot think of any use case for not doing this.

@egarbi egarbi requested a review from a team as a code owner January 18, 2024 19:14
@egarbi egarbi force-pushed the use-external_dns_route53_zone_arns-as-filter branch from 73da201 to 601c80a Compare January 19, 2024 07:39
@egarbi egarbi force-pushed the use-external_dns_route53_zone_arns-as-filter branch from 601c80a to e60e695 Compare January 29, 2024 09:20
100% of users passing ARN(s) in external_dns_route53_zone_arns
will benefit of this feature.
- Enhance reliability when adding records to specific zones.
- Prevent "Access Denied" errors by aligning zone retrieval with the intended zone for record addition.
- Reducen AWS Route 53 API calls, minimizing the risk of rate-limiting.
@egarbi egarbi force-pushed the use-external_dns_route53_zone_arns-as-filter branch from e60e695 to 9f75c60 Compare February 2, 2024 16:18
@askulkarni2
Copy link
Contributor

Hi @egarbi, thank you for the issue and PR! The functionality can be achieved today by passing in the zone-ids in the values parameter as suggested by @allamand in the issue. I will be closing the PR at this point.

@askulkarni2 askulkarni2 closed this Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[external-dns] - Use IDs embedded in external_dns_route53_zone_arns as zone-id-filter
2 participants