Skip to content

CRC: Add configurable allowed registries and registry mirror#3712

Draft
Valkyrie00 wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
Valkyrie00:feat/crc-add-registry-stage-mirror
Draft

CRC: Add configurable allowed registries and registry mirror#3712
Valkyrie00 wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
Valkyrie00:feat/crc-add-registry-stage-mirror

Conversation

@Valkyrie00
Copy link
Contributor

@Valkyrie00 Valkyrie00 commented Feb 25, 2026

Introduce two new optional variables for CRC environments:

  • cifmw_crc_additional_allowed_registries: appends extra registries
    to the OCP allowedRegistries list via JSON patch
  • cifmw_crc_registry_mirror_content: injects registry mirror
    configuration into /etc/containers/registries.conf.d/12-override.conf

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 25, 2026

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 25, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign amartyasinha for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/8052b892a6904ad2a15f08805e7b2ab8

openstack-k8s-operators-content-provider FAILURE in 5m 04s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal-minor-update SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 44s
✔️ cifmw-pod-pre-commit SUCCESS in 7m 34s

@Valkyrie00 Valkyrie00 changed the title DNM: Add registry.stage mirror and expand CRC allowedRegistries Add registry.stage mirror and expand CRC allowedRegistries Feb 25, 2026
Copy link
Contributor

@karelyatin karelyatin left a comment

Choose a reason for hiding this comment

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

comments inline

@Valkyrie00 Valkyrie00 force-pushed the feat/crc-add-registry-stage-mirror branch 4 times, most recently from c9a7cc0 to ce2c32d Compare February 25, 2026 17:49
@karelyatin
Copy link
Contributor

/lgtm

@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/ea4cc19533f14854bbdde1c08e2ef288

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 22m 12s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 23m 16s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 28m 14s
cifmw-crc-podified-edpm-baremetal-minor-update FAILURE in 2h 06m 53s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 25s
✔️ cifmw-pod-pre-commit SUCCESS in 7m 52s

@Valkyrie00 Valkyrie00 force-pushed the feat/crc-add-registry-stage-mirror branch from ce2c32d to fd96e18 Compare February 26, 2026 08:51
@openshift-ci openshift-ci bot removed the lgtm label Feb 26, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 26, 2026

New changes are detected. LGTM label has been removed.

@Valkyrie00 Valkyrie00 changed the title Add registry.stage mirror and expand CRC allowedRegistries CRC: Add configurable allowed registries and registry mirror Feb 26, 2026
Introduce two new optional variables for CRC environments:
- cifmw_crc_additional_allowed_registries: appends extra registries
  to the OCP allowedRegistries list via JSON patch
- cifmw_crc_registry_mirror_content: injects registry mirror
  configuration into /etc/containers/registries.conf.d/12-override.conf

Both tasks are conditional and skip when their variable is undefined,
preserving existing behavior.

Signed-off-by: Vito Castellano <vcastell@redhat.com>
@Valkyrie00 Valkyrie00 force-pushed the feat/crc-add-registry-stage-mirror branch from fd96e18 to 6891a33 Compare February 26, 2026 08:59
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