Make getPluginByName
be plugin-aware
#5017
Labels
component/ui
Issue related to kubeapps UI
kind/enhancement
An issue that reports an enhancement for an implemented feature
Milestone
Extracted from #4764
Summary
getPluginByName
is a hardcoded list of plugin objects for getting the object with the version set. Ideally, it should fetch it from the actually configured plugins.Background and rationale
The UI may want to query the currently enabled working to conditionally enable some options. For instance, filtering by plugin or creating a repository just if the plugin is enabled.
Description
The
getPluginByName
function should call the plugin API to show all the configured plugins in the API server.Acceptance criteria
getPluginByName
to return the proper plugin version according to the actually configured pluginsAdditional context
The first part of the issue is also required by #3889.
The text was updated successfully, but these errors were encountered: