HYPERFLEET-730 - fix: copy CA certificates from builder to ubi9-micro runtime#74
Conversation
…-micro runtime ubi9-micro doesn't include ca-certificates, causing TLS failures (x509: certificate signed by unknown authority) when connecting to external services like Google Pub/Sub. Copy the CA trust bundle from the builder stage to fix this.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe change modifies the Dockerfile to copy the CA bundle from the builder stage into the final runtime image. Specifically, it adds a Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ciaranRoche The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
f7fa37b
into
openshift-hyperfleet:main
…nshift-hyperfleet#74) ## Summary - Override `APP_VERSION` to `0.0.0-dev` in the `image-dev` Makefile target instead of using `git describe --tags` - Dev images should not carry release tag version strings ## Jira https://issues.redhat.com/browse/HYPERFLEET-734 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated development build configuration. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
HYPERFLEET-368: Fail fast check implemented on HyperFleet API
Summary
x509: certificate signed by unknown authority) when connecting to external services (e.g. Google Pub/Sub)ubi9-microis extremely minimal and doesn't include CA certificates; Go static binaries (CGO_ENABLED=0) need system CA certs for TLS verificationTest plan
Fixes: HYPERFLEET-730
Summary by CodeRabbit