Skip to content

[redhat-3.9] NO-ISSUE: fix: set channel.default.v1 annotation to bundle's own channel#1267

Open
openshift-cherrypick-robot wants to merge 1 commit into
quay:redhat-3.9from
openshift-cherrypick-robot:cherry-pick-1260-to-redhat-3.9
Open

[redhat-3.9] NO-ISSUE: fix: set channel.default.v1 annotation to bundle's own channel#1267
openshift-cherrypick-robot wants to merge 1 commit into
quay:redhat-3.9from
openshift-cherrypick-robot:cherry-pick-1260-to-redhat-3.9

Conversation

@openshift-cherrypick-robot
Copy link
Copy Markdown

This is an automated cherry-pick of #1260

/assign Marcusk19

The prepare-upstream.sh script was setting the bundle's
channel.default.v1 annotation to DEFAULT_CHANNEL (the package-level
default, e.g. stable-3.17), even when the bundle only belongs to a
different channel (e.g. stable-3.9). This causes the community-operators
FBC pipeline to fail: the build-fbc-scratch-catalog step creates a
minimal scratch catalog containing only the bundle's channel but sets
defaultChannel to the value from channel.default.v1 — OPM rejects this
because the referenced default channel doesn't exist in the catalog.

The fix changes channel.default.v1 to use CHANNEL (the bundle's own
channel) instead of DEFAULT_CHANNEL. The package-level default channel
is managed separately in the FBC catalog template, not in individual
bundle annotations. This is consistent with hack/build.sh which already
uses CHANNEL for both annotations.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Marcus Kok <mkok@redhat.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 14, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Enterprise

Run ID: 8b4d486d-cd57-437c-a83c-5835131cb141

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
✨ Simplify code
  • Create PR with simplified code

Comment @coderabbitai help to get the list of available commands and usage tips.

@Marcusk19 Marcusk19 enabled auto-merge (squash) May 14, 2026 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants