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
<!-- acp:session_id=session-37bfdede-b5c9-41a6-bb65-4ed834c2bdbb
source=#1258 last_action=2026-04-10T18:18:45Z retry_count=2 -->
## Summary
- Runner pods now conditionally mount a `trusted-ca-bundle` ConfigMap at
`/etc/pki/tls/certs/ca-bundle.crt` (the UBI9 system CA path), enabling
TLS validation against private/corporate CAs
- On OpenShift clusters with CA injection enabled, this ConfigMap is
auto-populated in the session namespace; on other clusters it can be
provisioned manually
- Clusters without the ConfigMap are unaffected — the mount is
conditional
- CA bundle is now mounted into init-hydrate, state-sync, and
ambient-code-runner containers
Fixes#1247
## Test plan
- [x] `TestApplyTrustedCABundle_ConfigMapPresent` — volume + mount added
when ConfigMap exists
- [x] `TestApplyTrustedCABundle_ConfigMapAbsent` — pod unchanged when
ConfigMap is missing
- [x] `TestApplyTrustedCABundle_ExistingMountsPreserved` — existing
mounts not clobbered
- [x] `TestApplyTrustedCABundle_APIError` — pod unchanged on transient
API errors
- [ ] Manual: create `trusted-ca-bundle` ConfigMap in session namespace,
start session, verify `/etc/pki/tls/certs/ca-bundle.crt` in runner pod
contains the custom CA
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Session pods will automatically mount a trusted CA bundle when a
ConfigMap named "trusted-ca-bundle" exists; the certificate is mounted
read-only into the session container at the standard CA path. If the
ConfigMap is missing, lacks the certificate, or cannot be read, pods are
created unchanged and a warning is logged.
* **Tests**
* Added unit tests covering presence, absence, missing key, preserved
existing mounts, and API error scenarios for the trusted CA bundle
behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Ambient Code Bot <bot@ambient-code.local>
0 commit comments