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

fixed foreign sub domain in zone selection #92

Merged
merged 1 commit into from
Jul 3, 2020
Merged

Conversation

MartinWeindel
Copy link
Member

What this PR does / why we need it:
If a hosted zone contains another hosted zone and both zones are accessible with the same account, the DNSEntries (e.g. www.sub.my.domain) of the sub hosted zone (e.g. sub.my.domain) are currently wrongly assigned to the super hosted zone (e.g. my.domain).
This is fixed with this PR.
Additionally, as the selection of included/excluded zones and domains is not trivial, this logic has been refactored to add unit testing.

Please note, that the DNS controller can only resolve this situation correctly, if the super hosted zone contains an NS record for the sub hosted zone

Which issue(s) this PR fixes:
Fixes #91

Special notes for your reviewer:

Release note:

If a hosted zone contains another hosted zone, DNS entries of the sub hosted zone are now correctly assigned it and not to the super hosted zone.

@MartinWeindel MartinWeindel added area/quality Output qualification (tests, checks, scans, automation in general, etc.) related area/robustness Robustness, reliability, resilience related priority/normal labels Jun 25, 2020
@gardener-robot-ci-1 gardener-robot-ci-1 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Jun 25, 2020
@gardener-robot-ci-1 gardener-robot-ci-1 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Jul 2, 2020
@gardener-robot-ci-2 gardener-robot-ci-2 removed the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Jul 2, 2020
@gardener-robot-ci-2 gardener-robot-ci-2 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Jul 2, 2020
@gardener-robot-ci-2 gardener-robot-ci-2 added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Jul 2, 2020
@gardener-robot-ci-1 gardener-robot-ci-1 removed the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Jul 2, 2020
@MartinWeindel
Copy link
Member Author

changes reviewed with @mandelsoft

@MartinWeindel MartinWeindel merged commit cb1b79d into master Jul 3, 2020
@MartinWeindel MartinWeindel deleted the selection-fix branch July 3, 2020 06:39
@gardener-robot gardener-robot added priority/3 Priority (lower number equals higher priority) needs/review Needs review and removed priority/3 Priority (lower number equals higher priority) labels Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/quality Output qualification (tests, checks, scans, automation in general, etc.) related area/robustness Robustness, reliability, resilience related needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) needs/review Needs review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Excluded zones are used to reconcile DnsEntry
4 participants