4 ms·
You don't have to publish the chart. Installing from a directory in a GitHub repo works fine.
by Snappy 9y ago
You don't have to publish the chart. Installing from a directory in a GitHub repo works fine.
- lobster_johnson 9y agoBut then you don't get dependency tracking, and you also have to clone the repo to install it, instead of something like "helm install github.com/foo/bar#e367f6d".
- canes123456 9y agoReally? I started playing around with and it not clear how to do this with helm.
- Snappy 9y ago`helm install path/to/chart/directory`
- Snappy 9y agoAh, I think I understand the confusion now. I guess you're wanting to do something like `helm install https://github.com/some/url` https://github.com/some/url` and that doesn't work. But I was assuming you were consuming the chart in the same repo, or including it via a submodule, such that the chart would be a local file reference. Sorry for the confusion! To use a URL, I think you'd either have to push up the packaged chart as a .gzip file in your repo (which is annoying), or you'd have to package up the chart and create a GitHub release with the resulting gzip file to be able to reference it that way. In GitLab you might be able to point to a pipeline artifact[0] after packaging the chart using GitLab CI. In one experimental project[1], I'm using GitLab Pages to package and publish the index. It works out surprisingly well, but has some shortcomings. [0]: https://docs.gitlab.com/ce/user/project/pipelines/job_artifacts.html#downloading-the-latest-job-artifacts https://docs.gitlab.com/ce/user/project/pipelines/job_artifa... [1]: https://gitlab.com/charts/charts.gitlab.io https://gitlab.com/charts/charts.gitlab.io