Skip to content

Backport: fix: include system CA certificates in controller container images (#1118) - #1120

Merged
mangelajo merged 1 commit into
release-0.9from
backport-1118-to-release-0.9
Sep 24, 2026
Merged

mangelajo merged 1 commit into
release-0.9from
backport-1118-to-release-0.9

Conversation

@mangelajo

Copy link
Copy Markdown
Member

Backport of bc769ca (PR #1118) to release-0.9.

The auto-backport failed because Containerfile.exporter-set-controller, Containerfile.prebuilt and Containerfile.telemetry.prebuilt do not exist in release-0.9; those changes are dropped. Only controller/Containerfile and controller/Containerfile.operator are patched.

…1118)

The `ubi9/ubi-micro` runtime 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):

```
tls: failed to verify certificate: x509: certificate signed by unknown authority
```

Copy the system CA bundle (`/etc/pki/tls/certs/ca-bundle.crt`) into all
runtime images:

- **Multi-stage builds** (Containerfile, Containerfile.operator,
Containerfile.exporter-set-controller): copy from the existing builder
stage
- **Prebuilt images** (Containerfile.prebuilt,
Containerfile.telemetry.prebuilt): add `ubi9/ubi-minimal` as a cert
source stage

Fixes #1117

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
(cherry picked from commit bc769ca)
@coderabbitai

coderabbitai Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: cedc32b9-7c50-4d61-a803-4eaee1e73de4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mangelajo
mangelajo requested a review from bkhizgiy September 23, 2026 15:46
@mangelajo
mangelajo enabled auto-merge September 23, 2026 15:51
@mangelajo
mangelajo added this pull request to the merge queue Sep 23, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 23, 2026
@mangelajo
mangelajo added this pull request to the merge queue Sep 23, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 23, 2026
@mangelajo

mangelajo commented Sep 24, 2026 •

Copy link
Copy Markdown
Member Author

merging to release-0.9 is blocked by some macos pytest issue, I'll investigate later

@mangelajo
mangelajo added this pull request to the merge queue Sep 24, 2026
Merged via the queue into release-0.9 with commit 938d1d9 Sep 24, 2026
24 checks passed
@mangelajo
mangelajo deleted the backport-1118-to-release-0.9 branch September 24, 2026 11:24
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