-
Notifications
You must be signed in to change notification settings - Fork 26
fix(backstage): add volume for extension catalog entities [RHIDP-11293] #293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Type(Describe updated until commit 1742961)Enhancement, Bug fix Description
|
| Relevant files | |||||
|---|---|---|---|---|---|
| Configuration changes |
| ||||
| Documentation |
| ||||
| Tests |
| ||||
| Enhancement |
|
PR Code Suggestions ✨No code suggestions found for the PR. |
97c21c3 to
8585148
Compare
Because this requires potential updates to `upstream.backstage.extraVolumes` for cases where it was overridden.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
|
| - name: extensions-catalog | ||
| # TODO(asoro): legacy path for backward compatibility. Will be removed in a near future. | ||
| mountPath: /marketplace | ||
| readOnly: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might need to be removed when redhat-developer/rhdh-plugins#2006 is merged and a new catalog index image is built. or we can still keep it for now for backward compatibility.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||



Description
As discussed in https://redhat-internal.slack.com/archives/C04CUSD4JSG/p1767790419980379, we need to extract the catalog entities from the index image to the
/marketplace(to be replaced by/extensionsin redhat-developer/rhdh-plugins#2006) folder, so that the extensions backend providers can automatically discover them. Otherwise, there are no plugins displayed in the RHDH Extensions UI.redhat-developer/rhdh#3970 added support for specifying the extraction dir via a new
CATALOG_ENTITIES_EXTRACT_DIRenv var, which we now need to set in the Install Methods (and additionally add the right volume mounts - we cannot create that folder right in the main container because the root filesystem is read-only for security purposes).Which issue(s) does this PR fix or relate to
How to test changes / Special notes to the reviewer
Before
With the changes here
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. Usepre-commit run -ato apply changes. The pre-commit Workflow will do this automatically for you if needed.pre-commithook.ct lintcommand.