Skip to content
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

Make getPluginByName be plugin-aware #5017

Closed
antgamdia opened this issue Jul 4, 2022 · 0 comments · Fixed by #5252
Closed

Make getPluginByName be plugin-aware #5017

antgamdia opened this issue Jul 4, 2022 · 0 comments · Fixed by #5252
Assignees
Labels
component/ui Issue related to kubeapps UI kind/enhancement An issue that reports an enhancement for an implemented feature

Comments

@antgamdia
Copy link
Contributor

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

  • There is a proper client in the UI for querying the Plugins API
  • This client is used by the getPluginByName to return the proper plugin version according to the actually configured plugins

Additional context

The first part of the issue is also required by #3889.

@antgamdia antgamdia added component/ui Issue related to kubeapps UI kind/enhancement An issue that reports an enhancement for an implemented feature labels Jul 4, 2022
@ppbaena ppbaena removed the next-iteration Issues to be discussed in planning session label Aug 29, 2022
@antgamdia antgamdia self-assigned this Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/ui Issue related to kubeapps UI kind/enhancement An issue that reports an enhancement for an implemented feature
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants