Skip to content

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

Draft
jainyjoseph wants to merge 27 commits intomonthlyupdatefrom
pipelin-enab
Draft

[patch] Red Hat Pipelines Console Plugin Auto-Enablement Implementation #264
jainyjoseph wants to merge 27 commits intomonthlyupdatefrom
pipelin-enab

Conversation

@jainyjoseph
Copy link
Copy Markdown
Contributor

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 adde 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
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