Repository navigation
feat(edge): edge.enabled chart — Deployment, Service, bootstrap, RBAC, SPIRE identity - #238
Merged
Merged
Conversation
…, SPIRE ID Add the edge (north-south ingress) gateway to charts/aether behind edge.enabled (default off): an unprivileged Deployment running plain Envoy + an `agent edge` sidecar that serves it xDS over a pod-local socket. - edge-deployment.yaml: 2 containers (agent edge + Envoy), unprivileged (runAsNonRoot, drop ALL caps, readOnlyRootFilesystem), shared emptyDir xDS socket, csi.spiffe.io workload socket in both (registrar mTLS/identity for the agent, SDS for Envoy), empty pod-local store. Envoy readiness rides the /aether/readyz health_check filter; standard RollingUpdate + readiness gate (no hot-restart supervisor). - edge-configmap.yaml: Envoy bootstrap — ADS over the agent_xds UDS, a static spire_agent SDS cluster (SPIRE Workload API socket; proxy.SpireAgentSDSClusterName), optional otel_collector sink, fixed_heap overload ladder. - edge-service.yaml: LoadBalancer (configurable) on the edge HTTP port. - edge-rbac.yaml: namespaced Role/RoleBinding for the EdgeRoute watch (get/list/ watch edgeroutes + status), scoped to the watched namespace. - edge-clusterspiffeid.yaml: optional ClusterSPIFFEID so SPIRE issues the edge pod its SVID (gated on spire.enabled + className), mirroring the controller. - edge serviceaccount, helpers, and an `edge:` values block. agent `edge` gains --mounted-registry-dir (pod-local emptyDir default). aether chart 0.6.0 -> 0.7.0. Renders clean (helm template, edge.enabled on/off); agent builds; format/lint pass. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Pihqn5RmVPhV9HTdBnqbvY
This was referenced Jun 19, 2026
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.
What
PR3 of the edge proxy plan (on merged #236 + #237). Adds the edge (north-south ingress) gateway to
charts/aetherbehindedge.enabled(default off): an unprivileged Deployment running plain Envoy + anagent edgesidecar that serves it xDS over a pod-local socket. The edge dials mesh pods directly over mTLS and routes by EdgeRoute CRs.Resources (all gated on
edge.enabled)edge-deployment.yaml— two containers (agent edge+ Envoy), unprivileged (runAsNonRoot, drop ALL caps,readOnlyRootFilesystem), a sharedemptyDirxDS socket, thecsi.spiffe.ioworkload socket mounted in both (registrar mTLS + identity for the agent; SDS for Envoy), and a pod-local empty store. Envoy readiness rides the/aether/readyzhealth_check filter; standardRollingUpdate+ readiness gate (no hot-restart supervisor — nothing node-local to preserve).edge-configmap.yaml— Envoy bootstrap: ADS over theagent_xdsUDS, a staticspire_agentSDS cluster (the SPIRE Workload API socket —proxy.SpireAgentSDSClusterName), optionalotel_collectorsink, and afixed_heapoverload ladder (the unprivileged edge could usecgroup_memory, butfixed_heapkeeps parity and avoids cgroup-layout assumptions).edge-service.yaml—LoadBalancer(configurable type/port/annotations) on the edge HTTP port.edge-rbac.yaml— namespaced Role/RoleBinding for the EdgeRoute watch (get/list/watchedgeroutes + status), scoped to the watched namespace.edge-clusterspiffeid.yaml— optionalClusterSPIFFEIDso SPIRE issues the edge pod its SVID (gated onspire.enabled+className), mirroring the controller._helpers.tplentries, and anedge:values block.agent edgegains--mounted-registry-dir(pod-localemptyDirdefault). Chart0.6.0 → 0.7.0.Notes
--proxy-id=$(POD_NAME), matching Envoy--service-node $(POD_NAME)(one agent ↔ one Envoy per pod).Verification
helm templaterenders cleanly withedge.enabledon and off; the bootstrap carriesagent_xds+spire_agent(+otel_collector) clusters; the ClusterSPIFFEID template unescapes correctly. Agent builds;make formatandscripts/check-chart-version-bump.shpass.Follow-ups (stacked)
🤖 Generated with Claude Code