Skip to content

ROX-33427: Add correct version to OCP plugin metadata#19486

Open
dvail wants to merge 3 commits intomasterfrom
dv/ROX-33427-fix-console-plugin-metadata-version
Open

ROX-33427: Add correct version to OCP plugin metadata#19486
dvail wants to merge 3 commits intomasterfrom
dv/ROX-33427-fix-console-plugin-metadata-version

Conversation

@dvail
Copy link
Contributor

@dvail dvail commented Mar 18, 2026

Description

Sets the version of the dynamic plugin to match the released product version, instead of the hard coded 0.0.1 from Tech Preview.

User-facing documentation

Testing and quality

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • added unit tests
  • added e2e tests
  • added regression tests
  • added compatibility tests
  • modified existing tests

How I validated my change

👀 and new e2e test
image

@dvail
Copy link
Contributor Author

dvail commented Mar 18, 2026

This change is part of the following stack:

Change managed by git-spice.

@dvail dvail marked this pull request as ready for review March 18, 2026 17:33
@dvail dvail requested a review from a team as a code owner March 18, 2026 17:33
@openshift-ci
Copy link

openshift-ci bot commented Mar 18, 2026

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@rhacs-bot
Copy link
Contributor

Images are ready for the commit at 03c13a0.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.11.x-365-g03c13a0164.

it('should display plugin information in cluster settings', () => {
visitFromConsoleLeftNavExpandable('Administration', 'Dynamic Plugins');

cy.get('td[data-label="name"]:contains("advanced-cluster-security")')
Copy link
Contributor

Choose a reason for hiding this comment

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

To keep my mind active and exercise paranoia: in testing environment:

  • Pagination is not an issue, I assume?
  • Even if it was, advanmced-cluster-security might save us, somewhat like what happened with admission control as first row of table?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Pagination is not an issue, I assume?

Unlikely, the default pagination requests 250 items for this screen. Compounded by your second point, as long as we do not have 250 active plugins that occur alphabetically before advanced-cluster-security, we would be OK.

validateSharedModules: false,
pluginMetadata: {
name: 'advanced-cluster-security',
version: '0.0.1',
Copy link
Contributor

Choose a reason for hiding this comment

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

Brings back memories of scavenger hunt for stray stuff at the acquisition.

@openshift-ci
Copy link

openshift-ci bot commented Mar 18, 2026

@dvail: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/ocp-4-21-nongroovy-e2e-tests 03c13a0 link false /test ocp-4-21-nongroovy-e2e-tests

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants