Skip to content

fix(install-dynamic-plugins): extract catalog entities from index image when CATALOG_INDEX_IMAGE is set [RHIDP-11291] - #3970

Merged
openshift-merge-bot[bot] merged 7 commits into
redhat-developer:mainfrom
rm3l:rhidp-11291-update-install-dynamic-plugins.py-script-to-copy-the-catalog-entities-files-extracted-from-the-catalog-index-image-to-a-configured-directory
Jan 9, 2026
Merged

fix(install-dynamic-plugins): extract catalog entities from index image when CATALOG_INDEX_IMAGE is set [RHIDP-11291]#3970
openshift-merge-bot[bot] merged 7 commits into
redhat-developer:mainfrom
rm3l:rhidp-11291-update-install-dynamic-plugins.py-script-to-copy-the-catalog-entities-files-extracted-from-the-catalog-index-image-to-a-configured-directory

Conversation

@rm3l

@rm3l rm3l commented Jan 8, 2026

Copy link
Copy Markdown
Member

Description

This PR enhances the install-dynamic-plugins.py script to also extract catalog entities from the catalog index OCI image to a configurable dir when the CATALOG_INDEX_IMAGE environment variable is set.

Subsequent PRs will be created in the Operator, Helm Chart and RHDH Local repos to set the extraction dir to /marketplace, so that the extensions can be automatically discovered by the extensions backend providers.
No subsequent PRs needed with the changes done in redhat-developer/rhdh-plugins#2006 (which will automatically add /opt/app-root/src/dynamic-plugins-root/extensions to the discovery search path of the extensions backend providers), once that is merged and a new catalog index image is available.

This should fix the issue with RHDH 1.9 causing no plugins to be displayed in the Extensions UI.

Which issue(s) does this PR fix

PR acceptance criteria

Please make sure that the following steps are complete:

  • GitHub Actions are completed and successful
  • Unit Tests are updated and passing
  • E2E Tests are updated and passing
  • Documentation is updated if necessary (requirement for new features)
  • Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

@openshift-ci

openshift-ci Bot commented Jan 8, 2026

Copy link
Copy Markdown

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

@github-actions

github-actions Bot commented Jan 8, 2026

Copy link
Copy Markdown
Contributor

The image is available at:

/test e2e-ocp-helm

@rm3l
rm3l force-pushed the rhidp-11291-update-install-dynamic-plugins.py-script-to-copy-the-catalog-entities-files-extracted-from-the-catalog-index-image-to-a-configured-directory branch from 3999363 to 341f7e6 Compare January 8, 2026 21:14
@rm3l
rm3l force-pushed the rhidp-11291-update-install-dynamic-plugins.py-script-to-copy-the-catalog-entities-files-extracted-from-the-catalog-index-image-to-a-configured-directory branch from 341f7e6 to 7a01fed Compare January 8, 2026 21:18
@rm3l rm3l changed the title fix(install-dynamic-plugins): also extract catalog entities from index image when CATALOG_INDEX_IMAGE is set [RHIDP-11291] fix(install-dynamic-plugins): Extract catalog entities from index image when CATALOG_INDEX_IMAGE is set [RHIDP-11291] Jan 8, 2026
@rm3l rm3l changed the title fix(install-dynamic-plugins): Extract catalog entities from index image when CATALOG_INDEX_IMAGE is set [RHIDP-11291] fix(install-dynamic-plugins): extract catalog entities from index image when CATALOG_INDEX_IMAGE is set [RHIDP-11291] Jan 8, 2026
@rm3l
rm3l force-pushed the rhidp-11291-update-install-dynamic-plugins.py-script-to-copy-the-catalog-entities-files-extracted-from-the-catalog-index-image-to-a-configured-directory branch from 7a01fed to c1b6b19 Compare January 8, 2026 21:27
@rm3l
rm3l force-pushed the rhidp-11291-update-install-dynamic-plugins.py-script-to-copy-the-catalog-entities-files-extracted-from-the-catalog-index-image-to-a-configured-directory branch from c1b6b19 to dc1776b Compare January 8, 2026 21:30
@github-actions

github-actions Bot commented Jan 8, 2026

Copy link
Copy Markdown
Contributor

The image is available at:

/test e2e-ocp-helm

@rm3l
rm3l marked this pull request as ready for review January 8, 2026 22:39
@openshift-ci
openshift-ci Bot requested review from durandom and pabel-rh January 8, 2026 22:39
@rm3l

rm3l commented Jan 8, 2026

Copy link
Copy Markdown
Member Author

/cc @Fortune-Ndlovu

@openshift-ci
openshift-ci Bot requested a review from Fortune-Ndlovu January 8, 2026 22:40
@rm3l
rm3l force-pushed the rhidp-11291-update-install-dynamic-plugins.py-script-to-copy-the-catalog-entities-files-extracted-from-the-catalog-index-image-to-a-configured-directory branch from dc1776b to 6de9e6e Compare January 9, 2026 08:17
@github-actions

github-actions Bot commented Jan 9, 2026

Copy link
Copy Markdown
Contributor

The image is available at:

/test e2e-ocp-helm

@github-actions

github-actions Bot commented Jan 9, 2026

Copy link
Copy Markdown
Contributor

The image is available at:

/test e2e-ocp-helm

Comment thread docker/install-dynamic-plugins.py
rm3l added 3 commits January 9, 2026 12:36
…content of the index image

This is to take into account the case where the catalog index image is updated and contains completely different catalog entities. Without this, we might still see the previous extensions displayed in the Extensions UI
…r image

It is now useless as it only contains a README file
@rm3l

rm3l commented Jan 9, 2026

Copy link
Copy Markdown
Member Author

/test e2e-ocp-helm

rm3l and others added 2 commits January 9, 2026 14:27
…ions' by default

'marketplace' is being replaced in favor of 'extensions'

[1] redhat-developer/rhdh-plugins#2006

Co-authored-by: Karthik Jeeyar <karthik.jk11@gmail.com>
…m the catalog index image, with a fallback to 'marketplace' (for backward compatibility)
@rm3l
rm3l force-pushed the rhidp-11291-update-install-dynamic-plugins.py-script-to-copy-the-catalog-entities-files-extracted-from-the-catalog-index-image-to-a-configured-directory branch from 2c8807c to f2b51a6 Compare January 9, 2026 13:30
@sonarqubecloud

sonarqubecloud Bot commented Jan 9, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Jan 9, 2026

Copy link
Copy Markdown
Contributor

The image is available at:

/test e2e-ocp-helm

@nickboldt nickboldt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

didn't run anything or really carefully inspect the .py but conceptually agree

/lgtm

@openshift-ci

openshift-ci Bot commented Jan 9, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nickboldt

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved label Jan 9, 2026
Comment thread docs/dynamic-plugins/installing-plugins.md
@openshift-merge-bot
openshift-merge-bot Bot merged commit 9059f2d into redhat-developer:main Jan 9, 2026
21 checks passed
@openshift-ci

openshift-ci Bot commented Jan 9, 2026

Copy link
Copy Markdown

@rm3l: 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/e2e-ocp-helm f2b51a6 link unknown /test e2e-ocp-helm

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.

2 participants