Skip to content

feat(spire): serve the agent node SVID as an SDS secret (R2 PR 2/6) - #84

Merged
bpalermo merged 1 commit into
mainfrom
feat/r2-node-svid
Jun 8, 2026
Merged

bpalermo merged 1 commit into
mainfrom
feat/r2-node-svid

Conversation

@bpalermo

@bpalermo bpalermo commented Jun 8, 2026

Copy link
Copy Markdown
Owner

Stack

Round 2 HBONE-style CONNECT-tunnel data plane, built as a stack:

  • PR 2/6 (this) — node SVID ← base on main
  • PR 3/6 — dest CONNECT listener (on this)
  • PR 4/6 — client tunnel plumbing
  • PR 5/6 — health checks
  • PR 6/6 — EDS metadata wiring

What

Serves the agent's own Workload-API SVID as an SDS secret so the proxy can present a node identity for node-to-node tunnel mTLS and the node-health listener.

  • The agent already holds this SVID via the go-spiffe Workload API source used for registrar mTLS — no new SPIRE registration or cross-pod identity resolution.
  • Served as a TlsCertificate secret named by its SPIFFE ID; Bridge.NodeSpiffeID() exposes the name for downstream config (PRs 3/5).
  • Refreshed on rotation (30s poll), pushing only on change to avoid no-op snapshot bumps.

Tests

New converter + equality tests; full agent suite passes. No behavior change to existing pod-SVID / bundle serving (the node secret coexists under a distinct name).

🤖 Generated with Claude Code

Round 2 (PR 2/6): serve the agent's own Workload-API SVID as an SDS secret so
the proxy can present a node identity for node-to-node tunnel mTLS and the
node-health listener (the HBONE-style CONNECT data plane).

The agent already holds this SVID via the go-spiffe Workload API source it uses
for registrar mTLS, so no new SPIRE registration or cross-pod identity
resolution is needed. The bridge serves it as a TlsCertificate secret named by
its SPIFFE ID (exposed via NodeSpiffeID for downstream config references) and
refreshes it on rotation, pushing only on change to avoid no-op snapshot bumps.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@bpalermo
bpalermo merged commit 1241c39 into main Jun 8, 2026
10 checks passed
@bpalermo
bpalermo deleted the feat/r2-node-svid branch June 8, 2026 14:55
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