-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
False
-
-
False
-
None
-
None
-
None
-
None
-
OCP Node Core Sprint 284
Problem
In 4.21, the openshift ClusterImagePolicy is enabled by default (OCPSTRAT-2471), enforcing Sigstore signature verification for release images. The supported mechanism to disable this policy is via cv.spec.overrides with unmanaged: true, as documented in the openshift-image-policy enhancement.
However, setting any override with unmanaged: true causes CVO to set Upgradeable=False and block all upgrades, including z-stream/patch updates. This is overly restrictive — users who legitimately disable the default signature policy (e.g., disconnected environments where mirror registries cannot serve Sigstore signatures, or CI/QE with unsigned builds) are locked out of patch updates that deliver critical security and bug fixes.
Expected behavior
Overrides should continue to block minor/major version upgrades via Upgradeable=False, but should not block patch-level (z-stream) updates. When a patch update proceeds with overrides set, it should be recorded as an accepted risk in the update history.
| Update type | Overrides set | Expected result |
|---|---|---|
| Patch (4.21.1 → 4.21.2) | Yes | Allowed with accepted risk recorded |
| Minor (4.21.x → 4.22.0) | Yes | Blocked by Upgradeable=False |
| Major | Yes | Blocked by Upgradeable=False |
Acceptance criteria
- A cluster with overrides set can complete z-stream/patch updates (accepted risk recorded in update history)
- Minor and major version upgrades remain blocked when overrides are set
- oc adm upgrade correctly reflects that overrides prevent minor/major version upgrades (not all upgrades)
Fix version
4.22 with backport to 4.21.z required — disconnected environments and CI workflows are actively impacted in 4.21 (see OCPBUGS-70261).
- relates to
-
OCPBUGS-70261 Release payload image pull fails in disconnected env with ClusterImagePolicy feature enabled by default in 4.21
-
- Closed
-
-
CORS-3550 Allow opt-out for non-production workloads
-
- Closed
-
-
OTA-586 [RFE] Spike: cvo should distinguish the backend update from upgrade triggered by users for overrides
-
- To Do
-
-
OCPSTRAT-2471 Enable sigstore 'openshift' clusterimagepolicy by default to enable payload index image verification
-
- Closed
-
- links to