Skip to content

Disable ClusterImagePolicy sigstore verification via assisted-service env var#783

Merged
openshift-merge-bot[bot] merged 1 commit intoredhat-performance:mainfrom
mcornea:override_policy.json
Mar 10, 2026
Merged

Disable ClusterImagePolicy sigstore verification via assisted-service env var#783
openshift-merge-bot[bot] merged 1 commit intoredhat-performance:mainfrom
mcornea:override_policy.json

Conversation

@mcornea
Copy link
Copy Markdown
Collaborator

@mcornea mcornea commented Mar 9, 2026

Since OCPNODE-3978 (introduced in 4.22.0-0.nightly-2026-03-05) the ClusterImagePolicy controller enables image signatures for OCP images in /etc/containers/policy.json.

To workaround this issue set OPENSHIFT_INSTALL_EXPERIMENTAL_DISABLE_IMAGE_POLICY=true within the assisted-service environment similar to:
openshift/release#74368

@openshift-ci openshift-ci Bot requested review from jtaleric and rsevilla87 March 9, 2026 09:32
@mcornea mcornea marked this pull request as draft March 9, 2026 09:32
@mcornea mcornea changed the title Add container policy.json override via MachineConfig Disable ClusterImagePolicy sigstore verification via assisted-service env var Mar 9, 2026
@mcornea mcornea force-pushed the override_policy.json branch 2 times, most recently from fb6294c to 99baaeb Compare March 9, 2026 14:31
@mcornea mcornea marked this pull request as ready for review March 9, 2026 14:31
… env var

Since OCPNODE-3978 (introduced in 4.22.0-0.nightly-2026-03-05) the ClusterImagePolicy
controller enables image signatures for OCP images in /etc/containers/policy.json.

To workaround this issue set OPENSHIFT_INSTALL_EXPERIMENTAL_DISABLE_IMAGE_POLICY=true
within the assisted-service environment similar to:
openshift/release#74368

Signed-off-by: Marius Cornea <mcornea@redhat.com>
@mcornea mcornea force-pushed the override_policy.json branch from 99baaeb to 0e276de Compare March 9, 2026 14:41
@mcornea
Copy link
Copy Markdown
Collaborator Author

mcornea commented Mar 10, 2026

/test deploy-sno

@mcornea
Copy link
Copy Markdown
Collaborator Author

mcornea commented Mar 10, 2026

/test ?

@mcornea
Copy link
Copy Markdown
Collaborator Author

mcornea commented Mar 10, 2026

/test deploy-sno

Copy link
Copy Markdown
Member

@akrzos akrzos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only thing to note here is that the env variable while plumbed into the assisted-service container on the bastion is actually "consumed" by an openshift-installer process (And not by the assisted-service itself) that the assisted-service runs within that container on cluster creation.

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Mar 10, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: akrzos

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot Bot merged commit 72b4d2e into redhat-performance:main Mar 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants