feat: support configuring multiple catalog index images [RHIDP-12934]#368
Conversation
Add global.catalogIndex.extraImages to allow listing additional catalog index OCI images whose catalog entities are extracted for the Extensions UI. A new helper (rhdh.catalogIndex.extraImagesEnvValue) builds the comma-separated EXTRA_CATALOG_INDEX_IMAGES value, and the vendored deployment template conditionally injects it into the install-dynamic-plugins init container only when the list is non-empty. Assisted-by: Claude
b25ba94 to
78dc7f6
Compare
|
/agentic_review |
Code Review by Qodo
1. Duplicate env var entries
|
|
|
/agentic_review |
|
Persistent review updated to latest commit f41ae10 |
Code Review by Qodo
1. EXTRA_CATALOG_INDEX_IMAGES not enforced
|
Review Summary by QodoSupport configuring multiple catalog index images for plugin discovery
WalkthroughsDescription• Add global.catalogIndex.extraImages field for multiple catalog sources • Implement helper template to build comma-separated environment variable • Inject EXTRA_CATALOG_INDEX_IMAGES into install-dynamic-plugins container • Update documentation and schema with extra images configuration • Bump chart version from 5.8.0 to 5.9.0 Diagramflowchart LR
A["global.catalogIndex.extraImages"] -->|"Helper template"| B["rhdh.catalogIndex.extraImagesEnvValue"]
B -->|"Comma-separated list"| C["EXTRA_CATALOG_INDEX_IMAGES env var"]
C -->|"Injected into"| D["install-dynamic-plugins init container"]
D -->|"Extracts catalog entities"| E["Extensions UI"]
File Changes1. charts/backstage/Chart.yaml
|



Description of the change
Followup to redhat-developer/rhdh#4655 (which adds support for extra catalog index images in the
install-dynamic-plugins.pyscript).This introduces a new
global.catalogIndex.extraImagesfield to allow listing additional catalog index OCI images whose catalog entities are extracted for the Extensions UI. Theglobal.catalogIndex.imageis still considered as the primary source for the dynamic-plugins.default.yaml, the extra ones only contribute additional catalog entities for the Extensions UI.Assisted-by: Claude
Which issue(s) does this PR fix or relate to
Fixes https://redhat.atlassian.net/browse/RHIDP-12934
How to test changes / Special notes to the reviewer
Checklist
Chart.yamlaccording to Semantic Versioning.values.yamland added to the corresponding README.md. The pre-commit utility can be used to generate the necessary content. Runpre-commit run --all-filesto run the hooks and then push any resulting changes. The pre-commit Workflow will enforce this and warn you if needed.pre-commithook.ct lintcommand.