From 652a3e7617713f0fdc5878dfca19634407809666 Mon Sep 17 00:00:00 2001 From: Andrey Lebedev Date: Wed, 27 May 2026 10:59:40 +0200 Subject: [PATCH 1/2] Pass image mirror set via workspace instead of Tekton result 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. --- .tekton/pipelines/deploy-fbc-operator.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.tekton/pipelines/deploy-fbc-operator.yaml b/.tekton/pipelines/deploy-fbc-operator.yaml index db9dc9e8..ba95434a 100644 --- a/.tekton/pipelines/deploy-fbc-operator.yaml +++ b/.tekton/pipelines/deploy-fbc-operator.yaml @@ -125,8 +125,6 @@ spec: workspaces: - name: shared-data results: - - name: serializedMirrorSetYaml - description: "A serialized string of an ImageDigestMirrorSet YAML, where each mirror entry is formatted with escaped newlines to preserve structure in a single-line format" - name: scorecardConfigImages description: "Images pulled from the scorecard config YAML." steps: @@ -215,8 +213,7 @@ spec: serialized_mirror_set=$(serialize_image_mirrors_yaml "${mirror_set_yaml}") echo "Serialized image mirror set: $serialized_mirror_set" - - echo -e "$serialized_mirror_set" > "$(results.serializedMirrorSetYaml.path)" + echo -e "$serialized_mirror_set" > "$(workspaces.shared-data.path)/serializedMirrorSetYaml" # Fetch scorecard config scorecard_config_url="${SOURCE_GIT_URL}/raw/${SOURCE_GIT_REVISION}/bundle/tests/scorecard/config.yaml" @@ -438,7 +435,11 @@ spec: - input: $(tasks.parse-metadata.results.test-event-type) operator: in values: ["pull_request", "ok-to-test-comment", "retest-all-comment"] + workspaces: + - name: shared-data taskSpec: + workspaces: + - name: shared-data results: - name: clusterName value: "$(steps.create-cluster.results.clusterName)" @@ -473,8 +474,8 @@ spec: value: "$(steps.get-latest-version-tag.results.version)" - name: instanceType value: "$(tasks.pick-cluster-params.results.bundleArch)" - - name: imageContentSources - value: "$(tasks.fetch-config-files.results.serializedMirrorSetYaml)" + - name: imageContentSourcesFile + value: "$(workspaces.shared-data.path)/serializedMirrorSetYaml" - name: deploy-operator runAfter: - provision-cluster From ad9332b9098a1e499e487874f0fbd86509c0cb65 Mon Sep 17 00:00:00 2001 From: Andrey Lebedev Date: Wed, 27 May 2026 11:09:04 +0200 Subject: [PATCH 2/2] Add `registry.redhat.io/edo/*` image mirrors 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`. --- .tekton/images-mirror-set.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.tekton/images-mirror-set.yaml b/.tekton/images-mirror-set.yaml index 0773b72e..5591a1a4 100644 --- a/.tekton/images-mirror-set.yaml +++ b/.tekton/images-mirror-set.yaml @@ -14,6 +14,25 @@ spec: - source: registry.redhat.io/ubi9/ubi-minimal mirrors: - brew.registry.redhat.io/ubi9/ubi-minimal + - source: registry.redhat.io/edo/external-dns-operator-bundle + mirrors: + - quay.io/redhat-user-workloads/external-dns-operator-tenant/ext-dns-optr-1-1-rhel-8/external-dns-operator-bundle-container-ext-dns-optr-1-1-rhel-8 + - quay.io/redhat-user-workloads/external-dns-operator-tenant/ext-dns-optr-1-2-rhel-8/external-dns-operator-bundle-container-ext-dns-optr-1-2-rhel-8 + - quay.io/redhat-user-workloads/external-dns-operator-tenant/ext-dns-optr-1-3-rhel-9/external-dns-operator-bundle-container-ext-dns-optr-1-3-rhel-9 + - source: registry.redhat.io/edo/external-dns-rhel8-operator + mirrors: + - quay.io/redhat-user-workloads/external-dns-operator-tenant/ext-dns-optr-1-1-rhel-8/external-dns-operator-container-ext-dns-optr-1-1-rhel-8 + - quay.io/redhat-user-workloads/external-dns-operator-tenant/ext-dns-optr-1-2-rhel-8/external-dns-operator-container-ext-dns-optr-1-2-rhel-8 + - source: registry.redhat.io/edo/external-dns-rhel8 + mirrors: + - quay.io/redhat-user-workloads/external-dns-operator-tenant/ext-dns-optr-1-1-rhel-8/external-dns-container-ext-dns-optr-1-1-rhel-8 + - quay.io/redhat-user-workloads/external-dns-operator-tenant/ext-dns-optr-1-2-rhel-8/external-dns-container-ext-dns-optr-1-2-rhel-8 + - source: registry.redhat.io/edo/external-dns-rhel9-operator + mirrors: + - quay.io/redhat-user-workloads/external-dns-operator-tenant/ext-dns-optr-1-3-rhel-9/external-dns-operator-container-ext-dns-optr-1-3-rhel-9 + - source: registry.redhat.io/edo/external-dns-rhel9 + mirrors: + - quay.io/redhat-user-workloads/external-dns-operator-tenant/ext-dns-optr-1-3-rhel-9/external-dns-container-ext-dns-optr-1-3-rhel-9 - source: registry.stage.redhat.io/edo/external-dns-operator-bundle mirrors: - quay.io/redhat-user-workloads/external-dns-operator-tenant/ext-dns-optr-1-1-rhel-8/external-dns-operator-bundle-container-ext-dns-optr-1-1-rhel-8