helm-web-api icon indicating copy to clipboard operation
helm-web-api copied to clipboard

It is possible to use my own charts (local or from a repo server)?

Open de1m opened this issue 5 years ago • 4 comments

Hi, good project, but I've a question. In your examples you use the charts from k8s repo like nginx-ingress. Can I use my charts, from local drive(mounted in pod) or from a web server?

de1m avatar Jun 14 '19 06:06 de1m

Also looking to see if we are able to deploy using a "public chart" present in a personal git (instead of the stable/k8s) repository.

Tried multiple options including privateChartsRepo, but, they all seem to fail.

kewlvishnu avatar Sep 07 '19 18:09 kewlvishnu

Yes, it is possible, check out this documentation link: https://github.com/microsoft/helm-web-api#using-the-api

@kewlvishnu I will verify why the privateChartRepo option failed.

eladiw avatar Sep 09 '19 14:09 eladiw

Is this possible - I get installation failed each attempt? Also should index.yaml be included in the URL ?

jjburr avatar Dec 16 '19 03:12 jjburr

I got it to work, but contrary to the example, index.yaml should be left out of the URL, as it is appended automatically.

Another thing is that the chart name should be prefixed with a repo name. From what I could see in the code, it does not really matter what, as it is created from the provided URL. Say, if you want to deploy chart foo, you could use foo/foo as the chart name.

jldinh avatar Jun 03 '20 11:06 jldinh