Skip to content

atenet: pick up refreshed pod certificate#531

Open
Zoe Zhao (zoez7) wants to merge 1 commit into
agent-substrate:mainfrom
zoez7:router-cert-sds-reload
Open

atenet: pick up refreshed pod certificate#531
Zoe Zhao (zoez7) wants to merge 1 commit into
agent-substrate:mainfrom
zoez7:router-cert-sds-reload

Conversation

@zoez7

Copy link
Copy Markdown
Collaborator

Otherwise, envoy's serving certificate expires after 24hours.

@zoez7
Zoe Zhao (zoez7) force-pushed the router-cert-sds-reload branch from 3eff542 to f314e0b Compare July 24, 2026 23:54

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖

},
// By specifying WatchedDirectory, we tell envoy to watch changes to the mounted pod certificate file.
// See documentation in https://pkg.go.dev/github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tls/v3#:~:text=This%20only%20applies%20when%20a%20%E2%80%9CTlsCertificate%E2%80%9C%20is%20delivered%20by%20SDS
WatchedDirectory: &corev3.WatchedDirectory{

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 question 🟢 – Was the reload verified end to end, rather than just the config shape? The tests pin the SDS wiring well, but nothing here exercises Envoy actually re-reading the bundle, and the failure mode is silent until the cert expires a day later. Forcing an early rotation (or touching the projected volume and watching Envoy's secret stats / admin /certs) would confirm the watch fires for a podCertificate volume specifically.

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.

2 participants