You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Helm does not require a version to be specified when installing a chart. helm.v2.Chart should mark version as optional.
Note that this can be worked around by passing version: <any>undefined, since it is just an issue in the TypeScript typing not the JavaScript implementation.
The text was updated successfully, but these errors were encountered:
Fixes#255.
Fixes#229.
Fixes#257.
Align more closely with `helm` options for chart references to support all scenarios supported by Helm including (a) getting latest by passing no version (b) using explicitly repo URLs (c) providing fully qualified URLs to charts.
All of the following now work:
```javascript
// 1. Explicit repo/chart/version - not technically part of `helm` format but needed for back compat
repo: "stable",
chart: "nginx-lego",
version: "0.3.1",
// 2. Reference to "latest"
repo: "stable",
chart: "nginx-lego",
// 3. Helm "chart reference"
chart: "stable/nginx-lego",
// 4. Helm "chart reference" with explicit version
chart: "stable/nginx-lego",
version: "0.3.1"
// 5. Helm "chart reference and repo url" with explicit version
chart: "nginx-lego",
version: "0.3.1",
fetchOpts: {
repo: "https://kubernetes-charts.storage.googleapis.com"
},
// 6. Helm "chart reference and repo url"
chart: "nginx-lego",
fetchOpts: {
repo: "https://kubernetes-charts.storage.googleapis.com"
},
// 7. Helm "absolute URL"
chart: "https://kubernetes-charts.storage.googleapis.com/nginx-lego-0.3.1.tgz",
```
Helm does not require a version to be specified when installing a chart.
helm.v2.Chart
should markversion
as optional.Note that this can be worked around by passing
version: <any>undefined
, since it is just an issue in the TypeScript typing not the JavaScript implementation.The text was updated successfully, but these errors were encountered: