CMP-4572: Switch runtime base image to ubi9-minimal-pqc for PQC support - #249
CMP-4572: Switch runtime base image to ubi9-minimal-pqc for PQC support#249guzalv wants to merge 1 commit into
Conversation
|
@guzalv: This pull request references CMP-4572 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "5.1.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: guzalv The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @guzalv. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Tip We noticed you've done this a few times! Consider joining the org to skip this step and gain Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/ok-to-test |
Switch the Dockerfile.openshift runtime stage base image from registry.redhat.io/rhel9-4-els/rhel-minimal to registry.redhat.io/ubi9/ubi-minimal-pqc to enable Post-Quantum Cryptography (PQC) support via the DEFAULT:PQ crypto policy in OpenSSL, as required by OCPSTRAT-3113. Also fix the runtime package install: libbpf-devel -> libbpf. The runtime only needs the shared library, not headers. This also fixes the root cause of the stale PR openshift#109 (CMP-3943) CI failure, which dropped libbpf entirely while BPF_ENABLED=1 was set. The ubi-minimal-pqc image is identical to ubi-minimal except it ships with the DEFAULT:PQ crypto policy pre-configured, enabling ML-KEM (post-quantum key encapsulation) in OpenSSL on RHEL 9. Tested: built operator image, deployed to OCP 4.22 cluster, verified DEFAULT:PQ crypto policy is active, seccomp profiles propagate to all nodes and enforce at the kernel level, log-enricher and spoc CLI both function correctly. Fixes: CMP-4572
|
/ok-to-test |
What
Switch the
Dockerfile.openshiftruntime base image fromregistry.redhat.io/rhel9-4-els/rhel-minimaltoregistry.redhat.io/ubi9/ubi-minimal-pqcto enable Post-Quantum Cryptography (PQC) support via theDEFAULT:PQcrypto policy in OpenSSL.Also fix the runtime package install:
libbpf-devel->libbpf. The runtime only needs the shared library (.so), not development headers. This also fixes the root cause of stale PR #109 (CMP-3943), which dropped libbpf entirely whileBPF_ENABLED=1was set.Why
Required by OCPSTRAT-3113: OCP and layered-product images must ship with
DEFAULT:PQcrypto policy. See epic CMP-4570.Changes
FROMregistry.redhat.io/rhel9-4-els/rhel-minimal:latestregistry.redhat.io/ubi9/ubi-minimal-pqc:latesttar libseccomp libbpf-develtar libseccomp libbpfBuild stage unchanged.
ELS trade-off
The previous base (
rhel9-4-els/rhel-minimal) pins to RHEL 9.4 with ~6yr ELS errata.ubi9-minimal-pqcships a rolling 9.8 stream with no ELS variant. This is unavoidable since norhel9-4-els-pqcimage exists.Package compatibility
All runtime packages verified available on
ubi9-minimal-pqcviamicrodnf repoquery:tarlibseccomplibbpflibbpf-develis only in RHEL CDN (codeready-builder), not UBI repos — but it was never needed at runtime anyway.Testing
DEFAULT:PQcrypto policy verified active in running podFixes: CMP-4572