fix: include system CA certificates in controller container images - #1118
Conversation
The ubi9/ubi-micro runtime images do not include a CA certificates bundle, causing TLS verification failures when connecting to external services using publicly trusted CAs (e.g. OIDC providers behind Let's Encrypt certificates). Copy the system CA bundle into all runtime images: - Multi-stage builds copy from the builder stage - Prebuilt images use ubi-minimal as a cert source Fixes: #1117 Assisted-by: OpenCode Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (5)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughThe controller Containerfiles now include the CA certificate bundle in their runtime images. Three copy the bundle from the builder stage; two add a ChangesController image CA bundle
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to The images should include the system CA bundle for supported builds; no merge-blocking issue was found. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. A rabbit packed a bundle bright, Comment |
Container ImagesThe following container images have been built for this PR:
Images expire after 7 days. |
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin release-0.9
git worktree add -d .worktree/backport-1118-to-release-0.9 origin/release-0.9
cd .worktree/backport-1118-to-release-0.9
git switch --create backport-1118-to-release-0.9
git cherry-pick -x bc769ca235a4e3fdd0ca6500719a2b4203e33ccc |
Problem
The
ubi9/ubi-microruntime images used for controller containers do not include a CA certificates bundle. This causes TLS verification failures when connecting to external services using publicly trusted CAs (e.g. OIDC providers behind Let's Encrypt certificates):Fix
Copy the system CA bundle (
/etc/pki/tls/certs/ca-bundle.crt) into all runtime images:ubi9/ubi-minimalas a cert source stageFixes #1117