Skip to content

gatewayendpoint: honour gateway.endpoint.dns.appthrust.io/excluded-listeners - #24

Merged
reoring merged 1 commit into
mainfrom
i1-managed-domain-dns-api
Nov 9, 2026
Merged

reoring merged 1 commit into
mainfrom
i1-managed-domain-dns-api

Conversation

@reoring

@reoring reoring commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Platform (appthrust/platform, ADR-D122 I1) will serve per-tenant Dashboard instances at <org>.appthrust.app from the installation's platform-public Gateway by adding *.appthrust.app listeners. The appthrust.app Zone contract forbids wildcard records; only exact <org> / <app>.<org> names from the allocation-writer namespace are allowed.

This change lets a Gateway opt listener sections out of endpoint publication:

  • Annotation gateway.endpoint.dns.appthrust.io/excluded-listeners = comma-separated listener section names.
  • Excluded listeners contribute no new publication and are removed from retained receipts.
  • Platform writes the annotation before the listeners become visible (same reconcile), so a dns-api running this change never sees an unexcluded managed listener.

Adoption order: this must be deployed before Platform enables PlatformInstallation.spec.managedDomains[].serveDashboardsFromPlatformGateway; an older dns-api ignores the annotation and would attempt a wildcard record (rejected by the Zone, but noisy).

Verification: go test ./internal/go/apps/gatewayendpoint/controllers/gateway (exclusion of publication + retained receipts, unchanged behaviour without the annotation). README updated.

…steners

Listener sections named in the annotation are excluded from publication and from
retained receipts, so a Platform Gateway may serve a managed domain (dashboard
instances at <org>.appthrust.app) without emitting wildcard records that the
Zone contract forbids.
@reoring
reoring merged commit a0fcfad into main Nov 9, 2026
2 checks passed
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