helm / chartmuseum

helm chart repository server

Home Page:https://chartmuseum.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I "helm install" using restAPI or curl?

juan0125 opened this issue · comments

I want to helm chart install using restAPI or curl.
But It doesn't seem to work.
Is there any way to helm install?
Could you help me for this?

image

image

👋 @juan0125 I'm not sure I fully understand. Are you asking how to helm install a chart served by ChartMuseum? The process is described here https://chartmuseum.com/docs/#installing-chartsinto-kubernetes.

Can you describe your goal? and the steps you've already taken?

@cbuto Thank you for your interest.
My goal is "helm install chartmuseum/mychart" using restAPI ( GET /charts/mychart-0.1.0.tgz ) described in https://chartmuseum.com/docs/#installing-chartsinto-kubernetes.

My condition is as below.

I sent the command http//10.178.71.18:30080/mysql-8.9.6.tgz using restAPI,
but there is unknown response and helm chart is not installed.

Could you help me?

Ah okay I think I understand, so the API will not install the chart. The route /charts/mychart-0.1.0.tgz returns the chart file which can then be installed via the helm CLI (or some other tool). ChartMuseum simply hosts Helm charts, the installation and management of charts in Kubernetes is handle by other tools.

Does that help clear things up?

I understand your answer.
Thank you for your help.
I need to find another way.