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

Root host target checks #93

Merged
merged 2 commits into from
Apr 24, 2024

Conversation

mikenairn
Copy link
Member

@mikenairn mikenairn commented Apr 24, 2024

closes #86

Add step in the plan to verify the targets of all CNAME records being created or updated. If the target is calculated to be a subdomain of the plans root host, it must exist in the zone or will exist after the changes are applied.

Makes use of the plans DomainFilters since this is already used to filter down to relevant records and allows us to use the same logic to check for matches in dnsName values or targets. Plan was updated to ensure that a DomainFilter is always set for the RootHost if one is specified.

Add step in the plan to verify the targets of all CNAME records being
created or updated. If the target is calculated to be a subdomain of the
plans root host, it must exist in the zone or will exist after the
changes are applied.

Makes use of the plans DomainFilters since this is already used to
filter down to relevant records and allows us to use the same logic to
check for matches in dnsName values or targets. Plan was updated to
ensure that a DomainFilter is always set for the RootHost if one is
specified.
@mikenairn mikenairn force-pushed the root_domain_target_checks branch from e3fafe3 to 03b2160 Compare April 24, 2024 09:38
@mikenairn mikenairn added this pull request to the merge queue Apr 24, 2024
Merged via the queue into Kuadrant:main with commit 4780fc8 Apr 24, 2024
9 checks passed
@mikenairn mikenairn deleted the root_domain_target_checks branch April 24, 2024 13:17
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.

Add managed host check for CNAME targets during create and update changes
2 participants