Skip to content

HYPBLD-844: Add MCE product mapping for Konflux kubeconfig and CPE labels#2936

Merged
ashwindasr merged 1 commit into
openshift-eng:mainfrom
girish1430:HYPBLD-844-mce-product-mapping
May 20, 2026
Merged

HYPBLD-844: Add MCE product mapping for Konflux kubeconfig and CPE labels#2936
ashwindasr merged 1 commit into
openshift-eng:mainfrom
girish1430:HYPBLD-844-mce-product-mapping

Conversation

@girish1430
Copy link
Copy Markdown
Contributor

Summary

Adds mce product mappings for MCE 2.11 ART onboarding (HYPBLD-844), following the ACM changes in:

artcommon/artcommonlib/constants.py

Map Entry
PRODUCT_NAMESPACE_MAP "mce": "art-acm-tenant"
PRODUCT_KUBECONFIG_MAP "mce": "ACM_KONFLUX_SA_KUBECONFIG"

MCE 2.11 Konflux builds run in crt-redhat-acm-tenant (same workspace/credential as ACM).

doozer/doozerlib/backend/rebaser.py

Map Entry
CPE_PRODUCT_NAME_MAPPING 'mce': 'multicluster_engine'

Matches CPE labels used on MCE container images (e.g. cpe:/a:redhat:multicluster_engine:...).

Companion: ocp-build-data #10730 (product: mce on mce-2.11).

Test plan

  • build-layered-products for mce-2.11 no longer raises ValueError: Kubeconfig required for Konflux builds
  • Konflux builds use art-acm-tenant namespace for product mce
  • Rebaser CPE labels on MCE images use multicluster_engine

Made with Cursor

Mirror ACM onboarding (art-tools openshift-eng#2923, openshift-eng#2910) for product mce:
- PRODUCT_NAMESPACE_MAP and PRODUCT_KUBECONFIG_MAP (crt-redhat-acm-tenant)
- CPE_PRODUCT_NAME_MAPPING for multicluster_engine rebasing labels

Co-authored-by: Cursor <cursoragent@cursor.com>
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label May 20, 2026
@openshift-ci-robot
Copy link
Copy Markdown

openshift-ci-robot commented May 20, 2026

@girish1430: This pull request references HYPBLD-844 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the sub-task to target the "5.0.0" version, but no target version was set.

Details

In response to this:

Summary

Adds mce product mappings for MCE 2.11 ART onboarding (HYPBLD-844), following the ACM changes in:

artcommon/artcommonlib/constants.py

Map Entry
PRODUCT_NAMESPACE_MAP "mce": "art-acm-tenant"
PRODUCT_KUBECONFIG_MAP "mce": "ACM_KONFLUX_SA_KUBECONFIG"

MCE 2.11 Konflux builds run in crt-redhat-acm-tenant (same workspace/credential as ACM).

doozer/doozerlib/backend/rebaser.py

Map Entry
CPE_PRODUCT_NAME_MAPPING 'mce': 'multicluster_engine'

Matches CPE labels used on MCE container images (e.g. cpe:/a:redhat:multicluster_engine:...).

Companion: ocp-build-data #10730 (product: mce on mce-2.11).

Test plan

  • build-layered-products for mce-2.11 no longer raises ValueError: Kubeconfig required for Konflux builds
  • Konflux builds use art-acm-tenant namespace for product mce
  • Rebaser CPE labels on MCE images use multicluster_engine

Made with Cursor

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.

@openshift-ci openshift-ci Bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label May 20, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 20, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: 7422f920-1b6f-4121-a301-4751e7f2784c

📥 Commits

Reviewing files that changed from the base of the PR and between 79b87e4 and cea75c6.

📒 Files selected for processing (2)
  • artcommon/artcommonlib/constants.py
  • doozer/doozerlib/backend/rebaser.py

Walkthrough

This PR adds MCE (multicluster engine) product support by registering it in three product configuration constant maps: the namespace map pointing to art-acm-tenant, the kubeconfig map pointing to ACM_KONFLUX_SA_KUBECONFIG, and the CPE product name map pointing to multicluster_engine.

Changes

MCE Product Registration

Layer / File(s) Summary
Product mapping constants
artcommon/artcommonlib/constants.py, doozer/doozerlib/backend/rebaser.py
MCE is registered in PRODUCT_NAMESPACE_MAP as art-acm-tenant, in PRODUCT_KUBECONFIG_MAP as ACM_KONFLUX_SA_KUBECONFIG, and in CPE_PRODUCT_NAME_MAPPING as multicluster_engine.

🎯 1 (Trivial) | ⏱️ ~3 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 20, 2026

Hi @girish1430. Thanks for your PR.

I'm waiting for a openshift-eng member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

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 kubernetes-sigs/prow repository.

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label May 20, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 20, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ashwindasr

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-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 20, 2026
@ashwindasr
Copy link
Copy Markdown
Contributor

/ok-to-test

@openshift-ci openshift-ci Bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 20, 2026
@ashwindasr ashwindasr merged commit 82f9a9e into openshift-eng:main May 20, 2026
2 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants