Extend usage of new clients provider in Kubeapps APIs #5362
Labels
component/apis-server
Issue related to kubeapps api-server
go
Pull requests that update Go code
kind/enhancement
An issue that reports an enhancement for an implemented feature
Milestone
Summary
In #5358 we introduced a new client provider/getter for K8s API calls from Helm plugin. We could extend that usage to the rest of plugins.
Description
The introduction of the new client getter allows to independently use any desired type of client from the Go source code. Previously it was necessary to generate them all at first, although only one was usually used.
This caused duplicated calls to K8s API to retrieve resources in the case of creating a dynamic client, for example.
Acceptance criteria
The text was updated successfully, but these errors were encountered: