-
Notifications
You must be signed in to change notification settings - Fork 27
Description
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 emptyImpact
- 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:
- Build from source using a BuildConfig pointing to the repo
- Patch the CSV to override the
IMAGE_PIPELINES_CONSOLE_PLUGINenvironment variable
Expected Behavior
The released image should include the console.navigation/section extension so the Pipelines menu appears in the Administrator perspective.