Repository navigation
fix(edge): route only by explicit external host, never the mesh FQDN - #241
Merged
Merged
Conversation
The edge was routing an exposed service at its internal mesh FQDN (<service>.<mesh-domain>) when an EdgeRoute had no `hosts` (and via the --expose seed). That leaks the mesh's east-west addressing scheme as a north-south entrypoint. The edge must route ONLY by explicit external hostnames. - proto: EdgeRouteSpec.hosts is now required (min_items=1); document that the mesh FQDN is deliberately not an edge entrypoint. - cache: edgeRouteVhosts drops the mesh-FQDN fallback and skips hostless routes; SetEdgeRoutes scopes the dependency set to services of routes WITH hosts only, so a hostless route is fully inert (no cluster, no vhost). - agent/reconciler: skip routes with no service OR no hosts. - Remove the --expose flag / EdgeExposes / static FQDN seed and the chart's edge.expose value — exposure is EdgeRoute-only now. aether chart 0.8.0 -> 0.9.0. Tests assert no vhost domain is a mesh FQDN, hostless routes produce no vhost and don't scope their service, and the reconciler skips no-service/no-host routes. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Pihqn5RmVPhV9HTdBnqbvY
bpalermo
added a commit
that referenced
this pull request
Jun 19, 2026
…DN, no --expose Align the proposal doc and e2e assets with the routing fix (#241): the edge routes ONLY by explicit external host; the internal mesh FQDN is not an edge entrypoint and `hosts` is required. Drop the removed `--expose` seed from the doc, runbook, and example. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Pihqn5RmVPhV9HTdBnqbvY
bpalermo
added a commit
that referenced
this pull request
Jun 19, 2026
…eRoutes (#240) * docs(edge): proposal 003 (as-built) + talos e2e runbook + example EdgeRoutes Add the edge-proxy proposal doc reflecting what shipped across #236–#239 (single-identity agent edge control plane, Envoy-talks-SPIRE-SDS-directly, the EdgeRoute CRD, the edge.enabled chart, downstream TLS), resolving the docs/proposals/003_edge-proxy.md references already in the code/chart comments. Also adds test/e2e/edge: a manual talos-main runbook (enable the edge, expose a service, drive traffic, assert direct-to-pod + edge identity in XFCC + hitless rollout + live route changes) and example EdgeRoute manifests (host-based and multi-port). Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Pihqn5RmVPhV9HTdBnqbvY * docs(edge): correct exposure wording — external host only, no mesh FQDN, no --expose Align the proposal doc and e2e assets with the routing fix (#241): the edge routes ONLY by explicit external host; the internal mesh FQDN is not an edge entrypoint and `hosts` is required. Drop the removed `--expose` seed from the doc, runbook, and example. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Pihqn5RmVPhV9HTdBnqbvY --------- Co-authored-by: Claude Opus 4.8 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The edge was routing an exposed service at its internal mesh FQDN (
<service>.<mesh-domain>, e.g.svc-1.aether.internal) whenever an EdgeRoute had nohosts— and the--exposeseed produced exactly those FQDN routes. That leaks the mesh's east-west addressing scheme as a north-south entrypoint. The edge must route only by explicit external hostnames; the mesh FQDN must not be reachable from the edge.Fix
EdgeRouteSpec.hostsis now required (min_items=1); documented that the mesh FQDN is deliberately not an edge entrypoint.edgeRouteVhostsdrops the mesh-FQDN fallback and skips hostless routes;SetEdgeRoutesscopes the dependency set to services of routes with hosts only, so a hostless route is fully inert (no cluster, no vhost).--exposeflag /EdgeExposes/ static FQDN seed and the chart'sedge.exposevalue — exposure is EdgeRoute-only. Chart0.8.0 → 0.9.0.Tests
Assert no vhost domain is a mesh FQDN, hostless routes produce no vhost and don't scope their service, and the reconciler skips no-service / no-host routes.
bazel build //..., the edge/cache/cmd/config tests, lint, format, and version-bump all pass.🤖 Generated with Claude Code