Skip to content

fix: use ref:// syntax for plugin references - #304

Open
jonkoops wants to merge 2 commits into
redhat-developer:devfrom
jonkoops:fix/ref-syntax-migration
Open

fix: use ref:// syntax for plugin references#304
jonkoops wants to merge 2 commits into
redhat-developer:devfrom
jonkoops:fix/ref-syntax-migration

Conversation

@jonkoops

@jonkoops jonkoops commented Sep 3, 2026

Copy link
Copy Markdown

Replace hardcoded OCI URLs and {{inherit}} tag references with ref:// syntax, which resolves plugin packages against the catalog index at install time. This removes version pinning and registry coupling from the configuration.

Also removes the RHDHBUGS-3710 workaround for extensions plugins; the upstream metadata now ships OCI references instead of ./dynamic-plugins/dist/ paths (redhat-developer/rhdh-plugin-export-overlays#3496), and the unnecessary extensions.directory pluginConfig (the plugin falls back to /extensions automatically).

RHDHBUGS-3710

@jonkoops

jonkoops commented Sep 3, 2026

Copy link
Copy Markdown
Author

Blocked: The ref:// syntax for extensions plugins depends on the :next catalog index shipping OCI references instead of ./dynamic-plugins/dist/ paths. The upstream metadata fix landed in redhat-developer/rhdh-plugin-export-overlays#3496, but the sync-midstream pipeline on rhdh-plugin-catalog has been failing due to an unrelated orchestrator:validation-failed error, preventing the catalog index from rebuilding. Once that pipeline succeeds, this PR can be marked ready.

@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.

lgtm though I'm surprised to not see orchestrator loki plugin in the list of things changed.

@jonkoops

jonkoops commented Sep 4, 2026

Copy link
Copy Markdown
Author

lgtm though I'm surprised to not see orchestrator loki plugin in the list of things changed.

This PR only converts existing plugin references to ref:// syntax; it doesn't add or remove plugins. The orchestrator loki plugin wasn't in the config before, so adding it would be a separate change.

Replace hardcoded OCI URLs and {{inherit}} tag references with ref://
syntax, which resolves plugin packages against the catalog index at
install time. This removes version pinning and registry coupling from
the configuration.

Also removes the RHDHBUGS-3710 workaround for extensions plugins (the
upstream metadata now ships OCI references instead of dist paths) and
drops the unnecessary extensions.directory pluginConfig (the plugin
falls back to /extensions automatically).

Signed-off-by: Jon Koops <jonkoops@gmail.com>
@jonkoops
jonkoops force-pushed the fix/ref-syntax-migration branch from 40d3b53 to 0683358 Compare September 4, 2026 10:03
Signed-off-by: Jon Koops <jonkoops@gmail.com>
@sonarqubecloud

sonarqubecloud Bot commented Sep 4, 2026

Copy link
Copy Markdown

@jonkoops
jonkoops marked this pull request as ready for review September 4, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants