Repository navigation
chore(agent): remove R2 vestiges (internal_listener bootstrap ext, node_ip) - #101
Merged
Merged
Conversation
…de_ip) Two dead remnants of the retired HBONE tunnel: - charts/agent: drop the envoy.bootstrap.internal_listener extension. The plain mTLS transport has no internal listeners, so it served nothing. - ServiceEndpoint.KubernetesMetadata.node_ip: the tunnel used node_ip:15008 as its target; the plain transport routes to pod IPs directly and never reads node_ip. Reserve proto field 4, and stop stamping/serializing it (registry.NewServiceEndpointFromCNIPod drops the nodeIP param, queryNodeMetadata no longer returns it, the kubernetes backend no longer derives it, and cloudmap drops AETHER_K8S_NODE_IP). No behavior change. Build/tests/lint/format clean. Co-Authored-By: Claude Opus 4.8 <[email protected]>
bpalermo
added a commit
that referenced
this pull request
Jun 9, 2026
…eld (#102) The HBONE tunnel and per-node CONNECT listener were removed in #98/#101, but several comments in the xDS cache and SPIRE bridge still described the node SPIFFE ID as the CONNECT listener's server cert / node-to-node tunnel identity. Update them to its actual current role: the no-match upstream client cert presented by outbound clusters for node-originated connections (e.g. active health-check probes) plus the node-health listener. Also drop listenerEntry.pod, which was only retained to rebuild the removed CONNECT listener's per-pod routes; it is now written but never read. Removing it makes the cni/v1 import in cache.go unused. Co-authored-by: Claude Opus 4.8 <[email protected]>
bpalermo
added a commit
that referenced
this pull request
Jun 19, 2026
…ss control plane (#236) Add `agent edge`, a subtractive control-plane mode for an edge (north-south ingress) proxy that dials mesh pods directly over mTLS — no node proxy/DaemonSet in the path. The transport migration (#98-#101) already made node egress a plain per-source mTLS HTTP/2 client to pod_ip:15008, so the edge is the same path with a single identity instead of many; the node data plane is unchanged. - `runEdge`: controller-runtime manager hosting only the xDS server + registry refresher (no CNI server, no per-pod storage, no SPIRE bridge). Shared identity/registrar/SPIRE flags extracted into registerSharedFlags so the node path is untouched. - Envoy fetches its single SVID + trust bundle straight from SPIRE over a static spire_agent gRPC SDS cluster (config.SDSConfigSourceFromCluster + proxy.EdgeUpstreamTransportSocket), not the agent's ADS stream. SAN pinning is preserved (inline matchers over the SDS bundle). - Edge data plane: BuildEdgeListener (0.0.0.0:8080, RDS, readiness filter ahead of the router), BuildEdgeRouteConfiguration (exposed vhosts + 404 catch-all, no ODCDS), and NewServiceCluster gains a perDownstreamConnectionPool flag so the single-identity edge multiplexes upstream connections. - Snapshot cache edge mode: SetEdgeMode/SetEdgeIdentity/SetStaticDependencies; the static dependency set scopes the registrar watch to exactly the exposed services. Exposure is seeded from --expose for now; an EdgeRoute CRD watch replaces it in a follow-up. Unit tests cover the edge transport socket, listener, route config, SDS config source, static dependency seam, and edge-mode listener composition. 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.
Cleanup of two dead remnants of the retired HBONE tunnel (now that the plain per-source mTLS transport is live):
charts/agent: drop theenvoy.bootstrap.internal_listenerextension (added in fix(agent chart): register internal_listener bootstrap extension #90). The plain transport has no internal listeners, so it registered an unused extension.ServiceEndpoint.KubernetesMetadata.node_ip: the tunnel usednode_ip:15008as its target; the plain transport routes to pod IPs directly and never readsnode_ip. Proto field 4 is reserved, and the field is no longer stamped or serialized:registry.NewServiceEndpointFromCNIPoddrops thenodeIPparam,queryNodeMetadatano longer returns it (and the unusednodeInternalIPhelper is gone),AETHER_K8S_NODE_IP.No behavior change.
bazel test //..., format, and lint clean (net −105 lines).🤖 Generated with Claude Code