Skip to content

[patch] Red Hat Pipelines Console Plugin Auto-Enablement Implementation #264

Merged
terc1997 merged 27 commits intomonthlyupdatefrom
pipelin-enab
Apr 13, 2026
Merged

[patch] Red Hat Pipelines Console Plugin Auto-Enablement Implementation #264
terc1997 merged 27 commits intomonthlyupdatefrom
pipelin-enab

Conversation

@jainyjoseph
Copy link
Copy Markdown
Contributor

@jainyjoseph jainyjoseph commented Apr 8, 2026

Description

In OpenShift 4.21+, the Red Hat Pipelines console plugin is not displayed in the left-hand navigation by default after the operator is installed. The plugin must be manually enabled by patching the Console operator configuration. As a solution, here with this PR we have automated the enablement of the Pipelines console plugin immediately after the operator installation in the MAS CLI, ensuring the plugin is available for OCP 4.21+ clusters.

Implementation Details

Adding a New Function "enablePipelinesConsolePlugin" to python-devops

1. Detects the OCP version
2. Checks if version >= 4.21
3. Enables the plugin if not already enabled

Test Scenarios

  1. OCP 4.21+ with plugin not enabled
  • As Expected: Plugin gets enabled automatically
  1. OCP 4.21+ with plugin already enabled
  • As Expected: Function detects plugin is enabled, and completed the plugin enablement without error
  1. OCP 4.20 or earlier
  • As Expected: Function detects version < 4.21, skips enablement and finish pipeline without error

Test results/Evidences

Evidences added in Jira Story 13229

Features introduced

  1. Automatic enablement: No manual intervention required for OCP 4.21+
  2. Version-aware: Only enables for versions that require it
  3. Idempotent: Checks if already enabled before patching

@jainyjoseph jainyjoseph requested a review from terc1997 April 8, 2026 09:12
@terc1997 terc1997 marked this pull request as ready for review April 13, 2026 17:43
@terc1997 terc1997 requested a review from a team as a code owner April 13, 2026 17:43
Copy link
Copy Markdown
Contributor

@terc1997 terc1997 left a comment

Choose a reason for hiding this comment

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

LGTM

@terc1997 terc1997 merged commit 37bf8ab into monthlyupdate Apr 13, 2026
3 checks passed
@terc1997 terc1997 deleted the pipelin-enab branch April 13, 2026 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants