-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow more flexible chart references
Allows the `chart` input argument to be used in more of the same ways allowed as argument to `helm install`. Makes `repo` optional to allow chart to be provided in forms that require fully qualified references. Actually expose the `fetchOpts` argument so that `--repo` (and other customerizations to fetch) can be passed. Adds some additional test coverage. All of the following now work: // #1 repo: "stable", chart: "nginx-lego", version: "0.3.1", // #2 repo: "stable", chart: "nginx-lego", // #3 chart: "stable/nginx-lego", // #4 chart: "stable/nginx-lego", version: "0.3.1" // #5 chart: "nginx-lego", version: "0.3.1", fetchOpts: { repo: "https://kubernetes-charts.storage.googleapis.com" }, // #6 chart: "nginx-lego", fetchOpts: { repo: "https://kubernetes-charts.storage.googleapis.com" }, // #7 chart: "https://kubernetes-charts.storage.googleapis.com/nginx-lego-0.3.1.tgz", Fixes #229. Fixes #257.
- Loading branch information
Luke Hoban
committed
Nov 18, 2018
1 parent
0a9bf36
commit 3088a11
Showing
3 changed files
with
94 additions
and
13 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
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
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