-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document Helm's chart tool multi-version feature (#782)
Also, the `--prune` option for vendoring Closes #778
- Loading branch information
1 parent
f23945c
commit d379f72
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -180,12 +180,40 @@ repositories: | |
+ url: https://grafana.github.io/helm-charts | ||
``` | ||
|
||
**Installing multiple versions of the same chart:** | ||
If you wish to install multiple versions of the same chart, you can write them to a specific directory. | ||
You can do so with a `:<directory>` suffix in the `add` command, or by modifying the chartfile manually. | ||
|
||
```bash | ||
tk tool charts add stable/[email protected]:1.6.7 | ||
tk tool charts add stable/[email protected]:1.6.8 | ||
``` | ||
|
||
The resulting chartfile will look like this: | ||
|
||
```yaml | ||
version: 1 | ||
directory: charts | ||
repositories: | ||
- name: stable | ||
url: https://charts.helm.sh/stable | ||
requires: | ||
- chart: stable/mysql | ||
directory: 1.6.7 | ||
version: 1.6.7 | ||
- chart: stable/mysql | ||
directory: 1.6.8 | ||
version: 1.6.8 | ||
``` | ||
**Install charts from chartfile:** To install charts from an existing chartfile, use the following: | ||
```bash | ||
$ tk tool charts vendor | ||
``` | ||
|
||
Optionally, you can also pass the `--prune` flag to remove vendored charts that are no longer in the chartfile. | ||
|
||
## Troubleshooting | ||
|
||
### Helm executable missing | ||
|