You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
substrate chart: no way to mount a database CA certificate on ate-api-server #125
The substrate chart has no way to mount a CA certificate on ate-api-server. Because of this gap, Agent Substrate cannot connect with sslmode=verify-full to an external PostgreSQL instance whose server certificate is signed by a private CA, such as Amazon RDS.
Evidence
charts/substrate/values.yaml has no volumes, volumeMounts, or CA value for ateApi (checked at chart 1.0.0-rc1 and on main).
templates/ate-api-server.yaml mounts only chart-defined volumes. The Postgres client-certificate volume carries no trust bundle.
The bundled install works only because its connection string points sslrootcert at the already-mounted servicedns trust bundle: sslrootcert=/run/servicedns.podcert.ate.dev/trust-bundle.pem.
pgx reads sslrootcert as a file path, so the CA must exist on disk in the pod. sslrootcert=system works only for a publicly trusted CA, and the RDS CA is not in the image's system roots.
The kagent chart already supports this through controller.volumes/controller.volumeMounts.
Docs impact
kagent-dev/website#687 documents the kagent side and states that Agent Substrate cannot verify a private CA in this release. A REVIEW comment on that page waits for this issue.
Open question
Should the fix be generic ateApi.volumes/ateApi.volumeMounts (matching the kagent chart), or a dedicated value such as postgres.caCertificateSecretRef that mounts the CA and documents a fixed sslrootcert path?
Hi @Rachael-Graham, I'd like to take this if no one else is on it. My plan is generic ateApi.volumes and ateApi.volumeMounts (default empty) appended to the chart-defined ones in ate-api-server.yaml, matching controller.volumes/controller.volumeMounts in the kagent chart, plus a values comment and a doc example for mounting an RDS CA and pointing sslrootcert at it. Helm template tests would cover the empty default and a mounted Secret. If maintainers would rather have a dedicated postgres.caCertificateSecretRef, I can do that instead. Could someone assign it to me if this works?
Activity
VISHNU0906 commentedon Nov 9, 2026
Hi @Rachael-Graham, I'd like to take this if no one else is on it. My plan is generic
ateApi.volumesandateApi.volumeMounts(default empty) appended to the chart-defined ones inate-api-server.yaml, matchingcontroller.volumes/controller.volumeMountsin the kagent chart, plus a values comment and a doc example for mounting an RDS CA and pointingsslrootcertat it. Helm template tests would cover the empty default and a mounted Secret. If maintainers would rather have a dedicatedpostgres.caCertificateSecretRef, I can do that instead. Could someone assign it to me if this works?