Repository navigation
feat(spire): serve the agent node SVID as an SDS secret (R2 PR 2/6) - #84
Merged
Merged
Conversation
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]>
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.
Stack
Round 2 HBONE-style CONNECT-tunnel data plane, built as a stack:
mainWhat
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.
TlsCertificatesecret named by its SPIFFE ID;Bridge.NodeSpiffeID()exposes the name for downstream config (PRs 3/5).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