Skip to content

v1.20.1 release missing console.navigation/section extension for Pipelines menu #846

@ssccio

Description

@ssccio

Description

After upgrading OKD from 4.21-12 to 4.21-13 with OpenShift Pipelines Operator v1.20.1, the "Pipelines" menu item disappeared from the Administrator perspective in the OpenShift console.

Root Cause

The released pipelines-console-plugin image (registry.redhat.io/openshift-pipelines/pipelines-console-plugin-rhel9@sha256:88b939f3bd9ae454ca5b905037d5f316aa279b8f9d7676125f089541ea46bd91) is missing the console.navigation/section extension that defines the "Pipelines" navigation section.

The source code in console-extensions.json correctly includes this extension:

{
  "type": "console.navigation/section",
  "properties": {
    "perspective": "admin",
    "id": "pipelines",
    "name": "%plugin__pipelines-console-plugin~Pipelines%",
    "insertAfter": "builds",
    "insertBefore": "servicecatalog",
    "dataAttributes": {
      "data-quickstart-id": "qs-nav-pipelines",
      "data-test": "nav-pipelines"
    }
  },
  "flags": {
    "required": ["OPENSHIFT_PIPELINE"]
  }
}

However, when inspecting the deployed plugin manifest from the released image, this extension is not present:

oc exec -n openshift-pipelines deployment/pipelines-console-plugin -- \
  cat /usr/share/nginx/html/plugin-manifest.json | \
  jq '.extensions[] | select(.type == "console.navigation/section")'
# Returns empty

Impact

  • The "Pipelines" section does not appear in the left navigation menu under the Administrator perspective
  • Users cannot navigate to Pipelines, Tasks, or Triggers via the menu
  • Pipeline actions and visualizations still work (accessible via direct URLs)

Environment

  • OKD 4.21.0-okd-scos.ec.13
  • OpenShift Pipelines Operator v1.20.1
  • pipelines-console-plugin image: registry.redhat.io/openshift-pipelines/pipelines-console-plugin-rhel9@sha256:88b939f3bd9ae454ca5b905037d5f316aa279b8f9d7676125f089541ea46bd91

Workaround

We worked around this by building the plugin from source and patching the operator CSV to use our custom image:

  1. Build from source using a BuildConfig pointing to the repo
  2. Patch the CSV to override the IMAGE_PIPELINES_CONSOLE_PLUGIN environment variable

Expected Behavior

The released image should include the console.navigation/section extension so the Pipelines menu appears in the Administrator perspective.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions