Skip to content

Configure private DNS using resource names and registration labels - #244

Draft
scotwells wants to merge 3 commits into
fix/internal-dns-default-domainfrom
fix/internal-dns-name-references
Draft

scotwells wants to merge 3 commits into
fix/internal-dns-default-domainfrom
fix/internal-dns-name-references

Conversation

@scotwells

@scotwells scotwells commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Customers attach private zones by name and configure additional DNS names using registration labels. DNS resolves resource identities into controller-owned status.

User experience

DNSZoneAssociation and DNSNamingPolicy references contain only name. Naming rules use matchLabels or matchExpressions on DNSRegistration.metadata.labels, so any authorized publisher can use them. An omitted or empty selector matches all registrations in the context. Overlapping rules produce one name per zone. Schemas and CEL reject unsupported selector operators and incompatible values. Selectors support up to 64 label matches, 64 expressions, and 64 values per expression.

If a referenced zone or context is recreated, customers recreate the association or policy to attach the replacement. Scoped grants authorize publishing.

Validation

Local API-backed tests cover selector matching, context isolation, overlapping rules, malformed selectors, lifetime protection, and authorization. Schema and CEL tests run against a Kubernetes API server without an admission webhook. Internal DNS tests, lint, and the repository build pass locally.

Depends on #243. Architecture examples are maintained in #229.

@scotwells scotwells changed the title Configure private DNS zones and naming policies by name Configure private DNS using resource names and registration labels Oct 12, 2026
@scotwells
scotwells force-pushed the fix/internal-dns-name-references branch 2 times, most recently from 3ebfa8a to 2770683 Compare October 12, 2026 17:21
@scotwells
scotwells force-pushed the fix/internal-dns-name-references branch 2 times, most recently from c96fd61 to a32a731 Compare October 12, 2026 21:17
@scotwells
scotwells force-pushed the fix/internal-dns-name-references branch 2 times, most recently from 1a095af to 61920e4 Compare October 12, 2026 22:05
@scotwells
scotwells force-pushed the fix/internal-dns-name-references branch from 61920e4 to 7fdf439 Compare October 12, 2026 22:07
@scotwells
scotwells force-pushed the fix/internal-dns-name-references branch from 7fdf439 to 38041c1 Compare October 12, 2026 22:16
@scotwells
scotwells force-pushed the fix/internal-dns-name-references branch from 38041c1 to cd43bb8 Compare October 12, 2026 22:59
@scotwells
scotwells added this pull request to stack #240 October 12, 2026 23:05
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.

1 participant