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

Support Retrieving installed Charts #23

Closed
masus04 opened this issue Mar 26, 2021 · 2 comments · Fixed by #25
Closed

Support Retrieving installed Charts #23

masus04 opened this issue Mar 26, 2021 · 2 comments · Fixed by #25
Labels
question Further information is requested

Comments

@masus04
Copy link

masus04 commented Mar 26, 2021

There currently does not seem to be any way to retrieve installed charts and their respective values.
There is a method called chartIsInstalled, which checks if a chart is currently installed, but it is private.

Is there currently a way to retrieve information about installed charts using the public interface? If not, is it possible to extend it to support those use cases?

@elenz97 elenz97 added the question Further information is requested label Apr 22, 2021
@elenz97
Copy link
Collaborator

elenz97 commented Apr 22, 2021

Hey @masus04!

Thanks for opening this issue.

Is there currently a way to retrieve information about installed charts using the public interface?

As of now, information about installed charts is retrieved implicitly.
For example when calling InstallOrUpgradeChart(), chartIsInstalled() is called to determine existence of a helm release.

If not, is it possible to extend it to support those use cases?

I suppose you are looking for the functionality of helm list in this client? Please let us know.

As go-helm-client does not yet utilize the list action, I think it would be a good extension overall.

@masus04
Copy link
Author

masus04 commented Apr 22, 2021

Thank your for your reply @elenz97

I am using the helm client as part of an Open Service Broker and would like to read installed charts explicitly in order to perform the following actions:

  • Check if a perticular resource is already installed (probably using an 'helm list' equivalent, or simply chartIsInstalled(), but publicly available)
  • Display information about an installed chart (similar to 'helm get values')
  • Generate an updated chart from updated data provided by the user and already available data from the currently installed chart and upgrade.

The most important of these the first one, where I would really only need chartIsInstalled() to be public.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants