Skip to content

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

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

[patch] Red Hat Pipelines Console Plugin Auto-Enablement Implementation #2158
terc1997 merged 5 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

A New Function "enablePipelinesConsolePlugin" is called in CLI for this purpose

The new function:
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:15
@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
@terc1997 terc1997 merged commit cc024f7 into monthlyupdate Apr 13, 2026
12 checks passed
@terc1997 terc1997 deleted the pipelin-enab branch April 13, 2026 20:48
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.

2 participants