NO-JIRA: Add registry.redhat.io/edo/* image mirrors and fix mirror set size limit#477
Conversation
The `serializedMirrorSetYaml` task result has a 4096-byte limit which can be exceeded as `images-mirror-set.yaml` grows. Write the serialized mirror set to `serializedMirrorSetYaml` in the `shared-data` workspace instead, and use the `imageContentSourcesFile` parameter of `eaas-create-ephemeral-cluster-hypershift-aws` to pass it to the `provision-cluster` task.
Mirror `registry.redhat.io/edo/*` repositories to Konflux builds in `quay.io/redhat-user-workloads`, matching the existing mirrors for `registry.stage.redhat.io/edo/*`. This allows the bundle `relatedImages` to reference `registry.redhat.io/edo/*` from the start, avoiding the manual registry change to `registry.stage.redhat.io`.
📝 WalkthroughWalkthroughThis pull request updates Tekton pipeline configuration in two coordinated changes. First, it adds new image digest mirror entries to support external-dns operator images from registry.redhat.io/edo/* with quay.io mirrors for rhel8 and rhel9 variants. Second, it refactors the deploy-fbc-operator pipeline to pass the serialized mirror set configuration via shared workspace instead of task result, updates the Git source for mirror set retrieval, and wires the provision-cluster task to read the mirror configuration from the shared workspace file path. 🚥 Pre-merge checks | ✅ 12✅ Passed checks (12 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.tekton/pipelines/deploy-fbc-operator.yaml:
- Around line 180-182: The pipeline currently pins the SOURCE_GIT_REPO to a
personal fork URL ("https://github.com/alebedev87/external-dns-operator") and
SOURCE_GIT_REVISION to "release-1.2.2"; revert these to the canonical upstream
repo and a controlled revision parameter by replacing the fork URL with the
upstream repo URL (e.g., the official external-dns-operator repo) and either set
SOURCE_GIT_REVISION to the upstream branch/tag or wire it to a pipeline
parameter/variable so the canonical source and revision are explicitly
controlled (refer to the env names SOURCE_GIT_REPO and SOURCE_GIT_REVISION in
the deploy-fbc-operator.yaml).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Central YAML (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: e933bea9-32f4-45ab-a09e-6ac9a126432e
📒 Files selected for processing (2)
.tekton/images-mirror-set.yaml.tekton/pipelines/deploy-fbc-operator.yaml
registry.redhat.io/edo/* image mirrors and fix mirror set size limit
registry.redhat.io/edo/* image mirrors and fix mirror set size limit|
@alebedev87: This pull request explicitly references no jira issue. 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 APPROVED This pull-request has been approved by: Thealisyed The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@alebedev87: all tests passed! Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
Pass the serialized image mirror set via the
shared-dataworkspace instead of a Tekton task result to avoid the 4096-byte size limit. Use theimageContentSourcesFileparameter ofeaas-create-ephemeral-cluster-hypershift-awsstep action.Add
registry.redhat.io/edo/*mirror entries pointing to Konflux builds, matching the existingregistry.stage.redhat.io/edo/*mirrors. This allows the bundlerelatedImagesto referenceregistry.redhat.io/edo/*from the start, avoiding the manual registry change toregistry.stage.redhat.io.