From 0b4c60b7d4ddf5ed75997efdbe974446554e2f0b Mon Sep 17 00:00:00 2001 From: Matt Butcher <technosophos@gmail.com> Date: Fri, 5 May 2017 17:27:29 -0600 Subject: [PATCH] fix(helm): add --devel flag to allow dev releases again 2.4.0 stopped installing development versions by default. This allows the user to re-enable that support by setting --devel. Closes #2407 --- cmd/helm/fetch.go | 9 +++++ cmd/helm/install.go | 9 +++++ cmd/helm/upgrade.go | 7 ++++ docs/helm/helm.md | 2 +- docs/helm/helm_completion.md | 2 +- docs/helm/helm_create.md | 2 +- docs/helm/helm_delete.md | 2 +- docs/helm/helm_dependency.md | 2 +- docs/helm/helm_dependency_build.md | 2 +- docs/helm/helm_dependency_list.md | 2 +- docs/helm/helm_dependency_update.md | 2 +- docs/helm/helm_fetch.md | 3 +- docs/helm/helm_get.md | 2 +- docs/helm/helm_get_hooks.md | 2 +- docs/helm/helm_get_manifest.md | 2 +- docs/helm/helm_get_values.md | 2 +- docs/helm/helm_history.md | 2 +- docs/helm/helm_home.md | 2 +- docs/helm/helm_init.md | 2 +- docs/helm/helm_inspect.md | 2 +- docs/helm/helm_inspect_chart.md | 2 +- docs/helm/helm_inspect_values.md | 2 +- docs/helm/helm_install.md | 3 +- docs/helm/helm_lint.md | 2 +- docs/helm/helm_list.md | 2 +- docs/helm/helm_package.md | 2 +- docs/helm/helm_plugin.md | 2 +- docs/helm/helm_plugin_install.md | 2 +- docs/helm/helm_plugin_list.md | 2 +- docs/helm/helm_plugin_remove.md | 2 +- docs/helm/helm_plugin_update.md | 27 ++++++++++++++ docs/helm/helm_repo.md | 2 +- docs/helm/helm_repo_add.md | 2 +- docs/helm/helm_repo_index.md | 2 +- docs/helm/helm_repo_list.md | 2 +- docs/helm/helm_repo_remove.md | 2 +- docs/helm/helm_repo_update.md | 2 +- docs/helm/helm_reset.md | 2 +- docs/helm/helm_rollback.md | 2 +- docs/helm/helm_search.md | 2 +- docs/helm/helm_serve.md | 2 +- docs/helm/helm_status.md | 2 +- docs/helm/helm_test.md | 2 +- docs/helm/helm_upgrade.md | 3 +- docs/helm/helm_verify.md | 2 +- docs/helm/helm_version.md | 2 +- docs/man/man1/helm.1 | 4 +-- docs/man/man1/helm_completion.1 | 4 +-- docs/man/man1/helm_create.1 | 4 +-- docs/man/man1/helm_delete.1 | 4 +-- docs/man/man1/helm_dependency.1 | 4 +-- docs/man/man1/helm_dependency_build.1 | 4 +-- docs/man/man1/helm_dependency_list.1 | 4 +-- docs/man/man1/helm_dependency_update.1 | 4 +-- docs/man/man1/helm_fetch.1 | 8 +++-- docs/man/man1/helm_get.1 | 4 +-- docs/man/man1/helm_get_hooks.1 | 4 +-- docs/man/man1/helm_get_manifest.1 | 4 +-- docs/man/man1/helm_get_values.1 | 4 +-- docs/man/man1/helm_history.1 | 4 +-- docs/man/man1/helm_home.1 | 4 +-- docs/man/man1/helm_init.1 | 4 +-- docs/man/man1/helm_inspect.1 | 4 +-- docs/man/man1/helm_inspect_chart.1 | 4 +-- docs/man/man1/helm_inspect_values.1 | 4 +-- docs/man/man1/helm_install.1 | 8 +++-- docs/man/man1/helm_lint.1 | 4 +-- docs/man/man1/helm_list.1 | 4 +-- docs/man/man1/helm_package.1 | 4 +-- docs/man/man1/helm_plugin.1 | 4 +-- docs/man/man1/helm_plugin_install.1 | 4 +-- docs/man/man1/helm_plugin_list.1 | 4 +-- docs/man/man1/helm_plugin_remove.1 | 4 +-- docs/man/man1/helm_plugin_update.1 | 50 ++++++++++++++++++++++++++ docs/man/man1/helm_repo.1 | 4 +-- docs/man/man1/helm_repo_add.1 | 4 +-- docs/man/man1/helm_repo_index.1 | 4 +-- docs/man/man1/helm_repo_list.1 | 4 +-- docs/man/man1/helm_repo_remove.1 | 4 +-- docs/man/man1/helm_repo_update.1 | 4 +-- docs/man/man1/helm_reset.1 | 4 +-- docs/man/man1/helm_rollback.1 | 4 +-- docs/man/man1/helm_search.1 | 4 +-- docs/man/man1/helm_serve.1 | 4 +-- docs/man/man1/helm_status.1 | 4 +-- docs/man/man1/helm_test.1 | 4 +-- docs/man/man1/helm_upgrade.1 | 8 +++-- docs/man/man1/helm_verify.1 | 4 +-- docs/man/man1/helm_version.1 | 4 +-- pkg/downloader/chart_downloader.go | 2 +- scripts/completions.bash | 6 ++++ 91 files changed, 250 insertions(+), 127 deletions(-) create mode 100644 docs/helm/helm_plugin_update.md create mode 100644 docs/man/man1/helm_plugin_update.1 diff --git a/cmd/helm/fetch.go b/cmd/helm/fetch.go index 26fab1d99..904e908d4 100644 --- a/cmd/helm/fetch.go +++ b/cmd/helm/fetch.go @@ -55,6 +55,8 @@ type fetchCmd struct { verifyLater bool keyring string + devel bool + out io.Writer } @@ -69,6 +71,12 @@ func newFetchCmd(out io.Writer) *cobra.Command { if len(args) == 0 { return fmt.Errorf("This command needs at least one argument, url or repo/name of the chart.") } + + if fch.version == "" && fch.devel { + debug("setting version to >0.0.0-a") + fch.version = ">0.0.0-a" + } + for i := 0; i < len(args); i++ { fch.chartRef = args[i] if err := fch.run(); err != nil { @@ -87,6 +95,7 @@ func newFetchCmd(out io.Writer) *cobra.Command { f.StringVar(&fch.version, "version", "", "specific version of a chart. Without this, the latest version is fetched") f.StringVar(&fch.keyring, "keyring", defaultKeyring(), "keyring containing public keys") f.StringVarP(&fch.destdir, "destination", "d", ".", "location to write the chart. If this and tardir are specified, tardir is appended to this") + f.BoolVar(&fch.devel, "devel", false, "use development versions, too. Equivalent to version '>0.0.0-a'. If --version is set, this is ignored.") return cmd } diff --git a/cmd/helm/install.go b/cmd/helm/install.go index 806674c82..5b4c2ad10 100644 --- a/cmd/helm/install.go +++ b/cmd/helm/install.go @@ -115,6 +115,7 @@ type installCmd struct { version string timeout int64 wait bool + devel bool } type valueFiles []string @@ -149,7 +150,14 @@ func newInstallCmd(c helm.Interface, out io.Writer) *cobra.Command { if err := checkArgsLength(len(args), "chart name"); err != nil { return err } + + debug("Original chart version: %q", inst.version) + if inst.version == "" && inst.devel { + debug("setting version to >0.0.0-a") + inst.version = ">0.0.0-a" + } cp, err := locateChartPath(args[0], inst.version, inst.verify, inst.keyring) + if err != nil { return err } @@ -173,6 +181,7 @@ func newInstallCmd(c helm.Interface, out io.Writer) *cobra.Command { f.StringVar(&inst.version, "version", "", "specify the exact chart version to install. If this is not specified, the latest version is installed") f.Int64Var(&inst.timeout, "timeout", 300, "time in seconds to wait for any individual kubernetes operation (like Jobs for hooks)") f.BoolVar(&inst.wait, "wait", false, "if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment are in a ready state before marking the release as successful. It will wait for as long as --timeout") + f.BoolVar(&inst.devel, "devel", false, "use development versions, too. Equivalent to version '>0.0.0-a'. If --version is set, this is ignored.") return cmd } diff --git a/cmd/helm/upgrade.go b/cmd/helm/upgrade.go index 433e5a7f6..8b4b3b70a 100644 --- a/cmd/helm/upgrade.go +++ b/cmd/helm/upgrade.go @@ -74,6 +74,7 @@ type upgradeCmd struct { resetValues bool reuseValues bool wait bool + devel bool } func newUpgradeCmd(client helm.Interface, out io.Writer) *cobra.Command { @@ -93,6 +94,11 @@ func newUpgradeCmd(client helm.Interface, out io.Writer) *cobra.Command { return err } + if upgrade.version == "" && upgrade.devel { + debug("setting version to >0.0.0-a") + upgrade.version = ">0.0.0-a" + } + upgrade.release = args[0] upgrade.chart = args[1] upgrade.client = ensureHelmClient(upgrade.client) @@ -117,6 +123,7 @@ func newUpgradeCmd(client helm.Interface, out io.Writer) *cobra.Command { f.BoolVar(&upgrade.resetValues, "reset-values", false, "when upgrading, reset the values to the ones built into the chart") f.BoolVar(&upgrade.reuseValues, "reuse-values", false, "when upgrading, reuse the last release's values, and merge in any new values. If '--reset-values' is specified, this is ignored.") f.BoolVar(&upgrade.wait, "wait", false, "if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment are in a ready state before marking the release as successful. It will wait for as long as --timeout") + f.BoolVar(&upgrade.devel, "devel", false, "use development versions, too. Equivalent to version '>0.0.0-a'. If --version is set, this is ignored.") f.MarkDeprecated("disable-hooks", "use --no-hooks instead") diff --git a/docs/helm/helm.md b/docs/helm/helm.md index 135d5f995..7938918af 100644 --- a/docs/helm/helm.md +++ b/docs/helm/helm.md @@ -66,4 +66,4 @@ Environment: * [helm verify](helm_verify.md) - verify that a chart at the given path has been signed and is valid * [helm version](helm_version.md) - print the client/server version information -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_completion.md b/docs/helm/helm_completion.md index 463f6bc47..fccf61909 100644 --- a/docs/helm/helm_completion.md +++ b/docs/helm/helm_completion.md @@ -34,4 +34,4 @@ helm completion SHELL ### SEE ALSO * [helm](helm.md) - The Helm package manager for Kubernetes. -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_create.md b/docs/helm/helm_create.md index 442becc87..06f95403d 100644 --- a/docs/helm/helm_create.md +++ b/docs/helm/helm_create.md @@ -53,4 +53,4 @@ helm create NAME ### SEE ALSO * [helm](helm.md) - The Helm package manager for Kubernetes. -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_delete.md b/docs/helm/helm_delete.md index 97620edaa..259cf8f8f 100644 --- a/docs/helm/helm_delete.md +++ b/docs/helm/helm_delete.md @@ -44,4 +44,4 @@ helm delete [flags] RELEASE_NAME [...] ### SEE ALSO * [helm](helm.md) - The Helm package manager for Kubernetes. -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_dependency.md b/docs/helm/helm_dependency.md index 69417bc24..4dec713f2 100644 --- a/docs/helm/helm_dependency.md +++ b/docs/helm/helm_dependency.md @@ -70,4 +70,4 @@ for this case. * [helm dependency list](helm_dependency_list.md) - list the dependencies for the given chart * [helm dependency update](helm_dependency_update.md) - update charts/ based on the contents of requirements.yaml -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_dependency_build.md b/docs/helm/helm_dependency_build.md index 4cd149444..0090abf2b 100644 --- a/docs/helm/helm_dependency_build.md +++ b/docs/helm/helm_dependency_build.md @@ -40,4 +40,4 @@ helm dependency build [flags] CHART ### SEE ALSO * [helm dependency](helm_dependency.md) - manage a chart's dependencies -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_dependency_list.md b/docs/helm/helm_dependency_list.md index e0223c07e..14e35228f 100644 --- a/docs/helm/helm_dependency_list.md +++ b/docs/helm/helm_dependency_list.md @@ -32,4 +32,4 @@ helm dependency list [flags] CHART ### SEE ALSO * [helm dependency](helm_dependency.md) - manage a chart's dependencies -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_dependency_update.md b/docs/helm/helm_dependency_update.md index 553d1f831..b7e887315 100644 --- a/docs/helm/helm_dependency_update.md +++ b/docs/helm/helm_dependency_update.md @@ -45,4 +45,4 @@ helm dependency update [flags] CHART ### SEE ALSO * [helm dependency](helm_dependency.md) - manage a chart's dependencies -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_fetch.md b/docs/helm/helm_fetch.md index 904e0577e..f43c47460 100644 --- a/docs/helm/helm_fetch.md +++ b/docs/helm/helm_fetch.md @@ -28,6 +28,7 @@ helm fetch [flags] [chart URL | repo/chartname] [...] ``` -d, --destination string location to write the chart. If this and tardir are specified, tardir is appended to this (default ".") + --devel use development versions, too. Equivalent to version '>0.0.0-a'. If --version is set, this is ignored. --keyring string keyring containing public keys (default "~/.gnupg/pubring.gpg") --prov fetch the provenance file, but don't perform verification --untar if set to true, will untar the chart after downloading it @@ -49,4 +50,4 @@ helm fetch [flags] [chart URL | repo/chartname] [...] ### SEE ALSO * [helm](helm.md) - The Helm package manager for Kubernetes. -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_get.md b/docs/helm/helm_get.md index d67af8388..b8961328a 100644 --- a/docs/helm/helm_get.md +++ b/docs/helm/helm_get.md @@ -49,4 +49,4 @@ helm get [flags] RELEASE_NAME * [helm get manifest](helm_get_manifest.md) - download the manifest for a named release * [helm get values](helm_get_values.md) - download the values file for a named release -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_get_hooks.md b/docs/helm/helm_get_hooks.md index 9e4cbbaca..94d654ed4 100644 --- a/docs/helm/helm_get_hooks.md +++ b/docs/helm/helm_get_hooks.md @@ -34,4 +34,4 @@ helm get hooks [flags] RELEASE_NAME ### SEE ALSO * [helm get](helm_get.md) - download a named release -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_get_manifest.md b/docs/helm/helm_get_manifest.md index aa68c4de8..8db7ecbe7 100644 --- a/docs/helm/helm_get_manifest.md +++ b/docs/helm/helm_get_manifest.md @@ -36,4 +36,4 @@ helm get manifest [flags] RELEASE_NAME ### SEE ALSO * [helm get](helm_get.md) - download a named release -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_get_values.md b/docs/helm/helm_get_values.md index 67568c6a8..9c20cf58e 100644 --- a/docs/helm/helm_get_values.md +++ b/docs/helm/helm_get_values.md @@ -33,4 +33,4 @@ helm get values [flags] RELEASE_NAME ### SEE ALSO * [helm get](helm_get.md) - download a named release -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_history.md b/docs/helm/helm_history.md index 1852c6616..541ea30f1 100644 --- a/docs/helm/helm_history.md +++ b/docs/helm/helm_history.md @@ -49,4 +49,4 @@ helm history [flags] RELEASE_NAME ### SEE ALSO * [helm](helm.md) - The Helm package manager for Kubernetes. -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_home.md b/docs/helm/helm_home.md index d86f3ce80..91aa48efb 100644 --- a/docs/helm/helm_home.md +++ b/docs/helm/helm_home.md @@ -27,4 +27,4 @@ helm home ### SEE ALSO * [helm](helm.md) - The Helm package manager for Kubernetes. -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_init.md b/docs/helm/helm_init.md index e21121dcd..c8e7b7f85 100644 --- a/docs/helm/helm_init.md +++ b/docs/helm/helm_init.md @@ -63,4 +63,4 @@ helm init ### SEE ALSO * [helm](helm.md) - The Helm package manager for Kubernetes. -###### Auto generated by spf13/cobra on 1-May-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_inspect.md b/docs/helm/helm_inspect.md index df8b5eb2d..52c1c66ae 100644 --- a/docs/helm/helm_inspect.md +++ b/docs/helm/helm_inspect.md @@ -39,4 +39,4 @@ helm inspect [CHART] * [helm inspect chart](helm_inspect_chart.md) - shows inspect chart * [helm inspect values](helm_inspect_values.md) - shows inspect values -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_inspect_chart.md b/docs/helm/helm_inspect_chart.md index 9980b5a46..3041a3ca2 100644 --- a/docs/helm/helm_inspect_chart.md +++ b/docs/helm/helm_inspect_chart.md @@ -35,4 +35,4 @@ helm inspect chart [CHART] ### SEE ALSO * [helm inspect](helm_inspect.md) - inspect a chart -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_inspect_values.md b/docs/helm/helm_inspect_values.md index 650a64358..9716456f1 100644 --- a/docs/helm/helm_inspect_values.md +++ b/docs/helm/helm_inspect_values.md @@ -35,4 +35,4 @@ helm inspect values [CHART] ### SEE ALSO * [helm inspect](helm_inspect.md) - inspect a chart -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_install.md b/docs/helm/helm_install.md index 0f5736887..002a3af5b 100644 --- a/docs/helm/helm_install.md +++ b/docs/helm/helm_install.md @@ -68,6 +68,7 @@ helm install [CHART] ### Options ``` + --devel use development versions, too. Equivalent to version '>0.0.0-a'. If --version is set, this is ignored. --dry-run simulate an install --keyring string location of public keys used for verification (default "~/.gnupg/pubring.gpg") -n, --name string release name. If unspecified, it will autogenerate one for you @@ -101,4 +102,4 @@ helm install [CHART] ### SEE ALSO * [helm](helm.md) - The Helm package manager for Kubernetes. -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_lint.md b/docs/helm/helm_lint.md index 00f287569..04c8ad8f9 100644 --- a/docs/helm/helm_lint.md +++ b/docs/helm/helm_lint.md @@ -37,4 +37,4 @@ helm lint [flags] PATH ### SEE ALSO * [helm](helm.md) - The Helm package manager for Kubernetes. -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_list.md b/docs/helm/helm_list.md index 26e4ffcd1..73eb582e4 100644 --- a/docs/helm/helm_list.md +++ b/docs/helm/helm_list.md @@ -70,4 +70,4 @@ helm list [flags] [FILTER] ### SEE ALSO * [helm](helm.md) - The Helm package manager for Kubernetes. -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_package.md b/docs/helm/helm_package.md index d7afd118b..2ab91ca98 100644 --- a/docs/helm/helm_package.md +++ b/docs/helm/helm_package.md @@ -44,4 +44,4 @@ helm package [flags] [CHART_PATH] [...] ### SEE ALSO * [helm](helm.md) - The Helm package manager for Kubernetes. -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_plugin.md b/docs/helm/helm_plugin.md index 96d474dea..f134eb7e7 100644 --- a/docs/helm/helm_plugin.md +++ b/docs/helm/helm_plugin.md @@ -25,4 +25,4 @@ Manage client-side Helm plugins. * [helm plugin list](helm_plugin_list.md) - list installed Helm plugins * [helm plugin remove](helm_plugin_remove.md) - remove one or more Helm plugins -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_plugin_install.md b/docs/helm/helm_plugin_install.md index 8480eb2ed..1e9610c30 100644 --- a/docs/helm/helm_plugin_install.md +++ b/docs/helm/helm_plugin_install.md @@ -30,4 +30,4 @@ helm plugin install [options] <path|url>... ### SEE ALSO * [helm plugin](helm_plugin.md) - add, list, or remove Helm plugins -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_plugin_list.md b/docs/helm/helm_plugin_list.md index cfa321706..b50924b60 100644 --- a/docs/helm/helm_plugin_list.md +++ b/docs/helm/helm_plugin_list.md @@ -24,4 +24,4 @@ helm plugin list ### SEE ALSO * [helm plugin](helm_plugin.md) - add, list, or remove Helm plugins -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_plugin_remove.md b/docs/helm/helm_plugin_remove.md index 47c16f6e8..f0dfa0046 100644 --- a/docs/helm/helm_plugin_remove.md +++ b/docs/helm/helm_plugin_remove.md @@ -24,4 +24,4 @@ helm plugin remove <plugin>... ### SEE ALSO * [helm plugin](helm_plugin.md) - add, list, or remove Helm plugins -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_plugin_update.md b/docs/helm/helm_plugin_update.md new file mode 100644 index 000000000..71b300258 --- /dev/null +++ b/docs/helm/helm_plugin_update.md @@ -0,0 +1,27 @@ +## helm plugin update + +update one or more Helm plugins + +### Synopsis + + +update one or more Helm plugins + +``` +helm plugin update <plugin>... +``` + +### Options inherited from parent commands + +``` + --debug enable verbose output + --home string location of your Helm config. Overrides $HELM_HOME (default "~/.helm") + --host string address of tiller. Overrides $HELM_HOST + --kube-context string name of the kubeconfig context to use + --tiller-namespace string namespace of tiller (default "kube-system") +``` + +### SEE ALSO +* [helm plugin](helm_plugin.md) - add, list, or remove Helm plugins + +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_repo.md b/docs/helm/helm_repo.md index 8e5d0da57..80190a00a 100644 --- a/docs/helm/helm_repo.md +++ b/docs/helm/helm_repo.md @@ -31,4 +31,4 @@ Example usage: * [helm repo remove](helm_repo_remove.md) - remove a chart repository * [helm repo update](helm_repo_update.md) - update information on available charts in the chart repositories -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_repo_add.md b/docs/helm/helm_repo_add.md index 5567fe415..9a731be84 100644 --- a/docs/helm/helm_repo_add.md +++ b/docs/helm/helm_repo_add.md @@ -33,4 +33,4 @@ helm repo add [flags] [NAME] [URL] ### SEE ALSO * [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_repo_index.md b/docs/helm/helm_repo_index.md index a98ecbffa..348a299d6 100644 --- a/docs/helm/helm_repo_index.md +++ b/docs/helm/helm_repo_index.md @@ -40,4 +40,4 @@ helm repo index [flags] [DIR] ### SEE ALSO * [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_repo_list.md b/docs/helm/helm_repo_list.md index e5138458c..8bb0fe39e 100644 --- a/docs/helm/helm_repo_list.md +++ b/docs/helm/helm_repo_list.md @@ -24,4 +24,4 @@ helm repo list [flags] ### SEE ALSO * [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_repo_remove.md b/docs/helm/helm_repo_remove.md index 0d1b1d06f..451249979 100644 --- a/docs/helm/helm_repo_remove.md +++ b/docs/helm/helm_repo_remove.md @@ -24,4 +24,4 @@ helm repo remove [flags] [NAME] ### SEE ALSO * [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_repo_update.md b/docs/helm/helm_repo_update.md index e3787cd56..2b327a8d8 100644 --- a/docs/helm/helm_repo_update.md +++ b/docs/helm/helm_repo_update.md @@ -30,4 +30,4 @@ helm repo update ### SEE ALSO * [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_reset.md b/docs/helm/helm_reset.md index e07f3a707..f51da9f7d 100644 --- a/docs/helm/helm_reset.md +++ b/docs/helm/helm_reset.md @@ -40,4 +40,4 @@ helm reset ### SEE ALSO * [helm](helm.md) - The Helm package manager for Kubernetes. -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_rollback.md b/docs/helm/helm_rollback.md index a5500008c..32f468314 100644 --- a/docs/helm/helm_rollback.md +++ b/docs/helm/helm_rollback.md @@ -45,4 +45,4 @@ helm rollback [flags] [RELEASE] [REVISION] ### SEE ALSO * [helm](helm.md) - The Helm package manager for Kubernetes. -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_search.md b/docs/helm/helm_search.md index 6f1f8a645..137fd1996 100644 --- a/docs/helm/helm_search.md +++ b/docs/helm/helm_search.md @@ -37,4 +37,4 @@ helm search [keyword] ### SEE ALSO * [helm](helm.md) - The Helm package manager for Kubernetes. -###### Auto generated by spf13/cobra on 18-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_serve.md b/docs/helm/helm_serve.md index 7c928c9a0..866008844 100644 --- a/docs/helm/helm_serve.md +++ b/docs/helm/helm_serve.md @@ -45,4 +45,4 @@ helm serve ### SEE ALSO * [helm](helm.md) - The Helm package manager for Kubernetes. -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_status.md b/docs/helm/helm_status.md index 893c3325a..adcb25a49 100644 --- a/docs/helm/helm_status.md +++ b/docs/helm/helm_status.md @@ -44,4 +44,4 @@ helm status [flags] RELEASE_NAME ### SEE ALSO * [helm](helm.md) - The Helm package manager for Kubernetes. -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_test.md b/docs/helm/helm_test.md index 795a81c66..ebdb67ec6 100644 --- a/docs/helm/helm_test.md +++ b/docs/helm/helm_test.md @@ -41,4 +41,4 @@ helm test [RELEASE] ### SEE ALSO * [helm](helm.md) - The Helm package manager for Kubernetes. -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_upgrade.md b/docs/helm/helm_upgrade.md index 931073937..ee81a1b1e 100644 --- a/docs/helm/helm_upgrade.md +++ b/docs/helm/helm_upgrade.md @@ -36,6 +36,7 @@ helm upgrade [RELEASE] [CHART] ### Options ``` + --devel use development versions, too. Equivalent to version '>0.0.0-a'. If --version is set, this is ignored. --dry-run simulate an upgrade -i, --install if a release by this name doesn't already exist, run an install --keyring string path to the keyring that contains public signing keys (default "~/.gnupg/pubring.gpg") @@ -70,4 +71,4 @@ helm upgrade [RELEASE] [CHART] ### SEE ALSO * [helm](helm.md) - The Helm package manager for Kubernetes. -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_verify.md b/docs/helm/helm_verify.md index 57ff2f191..f30bccfe9 100644 --- a/docs/helm/helm_verify.md +++ b/docs/helm/helm_verify.md @@ -39,4 +39,4 @@ helm verify [flags] PATH ### SEE ALSO * [helm](helm.md) - The Helm package manager for Kubernetes. -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/helm/helm_version.md b/docs/helm/helm_version.md index de65607b1..5c2cc4d51 100644 --- a/docs/helm/helm_version.md +++ b/docs/helm/helm_version.md @@ -53,4 +53,4 @@ helm version ### SEE ALSO * [helm](helm.md) - The Helm package manager for Kubernetes. -###### Auto generated by spf13/cobra on 16-Apr-2017 +###### Auto generated by spf13/cobra on 17-May-2017 diff --git a/docs/man/man1/helm.1 b/docs/man/man1/helm.1 index 026ca69e4..cf9716dc9 100644 --- a/docs/man/man1/helm.1 +++ b/docs/man/man1/helm.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -82,4 +82,4 @@ Environment: .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_completion.1 b/docs/man/man1/helm_completion.1 index 95e267e2d..bd2e2f975 100644 --- a/docs/man/man1/helm_completion.1 +++ b/docs/man/man1/helm_completion.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -71,4 +71,4 @@ $ source <(helm completion bash) .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_create.1 b/docs/man/man1/helm_create.1 index 4261d753f..e48241367 100644 --- a/docs/man/man1/helm_create.1 +++ b/docs/man/man1/helm_create.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -83,4 +83,4 @@ will be overwritten, but other files will be left alone. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_delete.1 b/docs/man/man1/helm_delete.1 index 3df4e0ded..fa4abe223 100644 --- a/docs/man/man1/helm_delete.1 +++ b/docs/man/man1/helm_delete.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -90,4 +90,4 @@ deleting them. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_dependency.1 b/docs/man/man1/helm_dependency.1 index 9287dcb1f..63727fefb 100644 --- a/docs/man/man1/helm_dependency.1 +++ b/docs/man/man1/helm_dependency.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -114,4 +114,4 @@ for this case. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_dependency_build.1 b/docs/man/man1/helm_dependency_build.1 index a42f44a58..2550548a3 100644 --- a/docs/man/man1/helm_dependency_build.1 +++ b/docs/man/man1/helm_dependency_build.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -66,4 +66,4 @@ of 'helm dependency update'. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_dependency_list.1 b/docs/man/man1/helm_dependency_list.1 index 9061d3ebe..4fca9fd2a 100644 --- a/docs/man/man1/helm_dependency_list.1 +++ b/docs/man/man1/helm_dependency_list.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -55,4 +55,4 @@ if it cannot find a requirements.yaml. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_dependency_update.1 b/docs/man/man1/helm_dependency_update.1 index eebee95d7..c58c4e13b 100644 --- a/docs/man/man1/helm_dependency_update.1 +++ b/docs/man/man1/helm_dependency_update.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -75,4 +75,4 @@ in the requirements.yaml file, but (b) at the wrong version. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_fetch.1 b/docs/man/man1/helm_fetch.1 index 0de710574..772fccdf7 100644 --- a/docs/man/man1/helm_fetch.1 +++ b/docs/man/man1/helm_fetch.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -37,6 +37,10 @@ result in an error, and the chart will not be saved locally. \fB\-d\fP, \fB\-\-destination\fP="." location to write the chart. If this and tardir are specified, tardir is appended to this +.PP +\fB\-\-devel\fP[=false] + use development versions, too. Equivalent to version '>0.0.0\-a'. If \-\-version is set, this is ignored. + .PP \fB\-\-keyring\fP="~/.gnupg/pubring.gpg" keyring containing public keys @@ -91,4 +95,4 @@ result in an error, and the chart will not be saved locally. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_get.1 b/docs/man/man1/helm_get.1 index 6a5f96a20..b558d4041 100644 --- a/docs/man/man1/helm_get.1 +++ b/docs/man/man1/helm_get.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -86,4 +86,4 @@ chart, the supplied values, and the generated manifest file. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_get_hooks.1 b/docs/man/man1/helm_get_hooks.1 index 8ba348e54..a099dba1e 100644 --- a/docs/man/man1/helm_get_hooks.1 +++ b/docs/man/man1/helm_get_hooks.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -56,4 +56,4 @@ Hooks are formatted in YAML and separated by the YAML '\-\-\-\\n' separator. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_get_manifest.1 b/docs/man/man1/helm_get_manifest.1 index 21fa6363c..22d584815 100644 --- a/docs/man/man1/helm_get_manifest.1 +++ b/docs/man/man1/helm_get_manifest.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -58,4 +58,4 @@ charts, those resources will also be included in the manifest. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_get_values.1 b/docs/man/man1/helm_get_values.1 index c897e7378..3ab6ffb56 100644 --- a/docs/man/man1/helm_get_values.1 +++ b/docs/man/man1/helm_get_values.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -57,4 +57,4 @@ This command downloads a values file for a given release. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_history.1 b/docs/man/man1/helm_history.1 index cde92fa82..1ba4fc329 100644 --- a/docs/man/man1/helm_history.1 +++ b/docs/man/man1/helm_history.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -94,4 +94,4 @@ REVISION UPDATED STATUS CHART DESCRIPTIO .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_home.1 b/docs/man/man1/helm_home.1 index a0887aac4..0d1247cfa 100644 --- a/docs/man/man1/helm_home.1 +++ b/docs/man/man1/helm_home.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -48,4 +48,4 @@ any helm configuration files live. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_init.1 b/docs/man/man1/helm_init.1 index e92c51f76..9632794ff 100644 --- a/docs/man/man1/helm_init.1 +++ b/docs/man/man1/helm_init.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -132,4 +132,4 @@ To dump a manifest containing the Tiller deployment YAML, combine the .SH HISTORY .PP -1\-May\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_inspect.1 b/docs/man/man1/helm_inspect.1 index bce08dfcd..4f558cc55 100644 --- a/docs/man/man1/helm_inspect.1 +++ b/docs/man/man1/helm_inspect.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -65,4 +65,4 @@ Inspect prints the contents of the Chart.yaml file and the values.yaml file. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_inspect_chart.1 b/docs/man/man1/helm_inspect_chart.1 index 892a5f6d1..25637b5d8 100644 --- a/docs/man/man1/helm_inspect_chart.1 +++ b/docs/man/man1/helm_inspect_chart.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -62,4 +62,4 @@ of the Charts.yaml file .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_inspect_values.1 b/docs/man/man1/helm_inspect_values.1 index ed46871bd..c23543f40 100644 --- a/docs/man/man1/helm_inspect_values.1 +++ b/docs/man/man1/helm_inspect_values.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -62,4 +62,4 @@ of the values.yaml file .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_install.1 b/docs/man/man1/helm_install.1 index 521680e50..bfbd1286f 100644 --- a/docs/man/man1/helm_install.1 +++ b/docs/man/man1/helm_install.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -114,6 +114,10 @@ charts in a repository, use 'helm search'. .SH OPTIONS +.PP +\fB\-\-devel\fP[=false] + use development versions, too. Equivalent to version '>0.0.0\-a'. If \-\-version is set, this is ignored. + .PP \fB\-\-dry\-run\fP[=false] simulate an install @@ -216,4 +220,4 @@ charts in a repository, use 'helm search'. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_lint.1 b/docs/man/man1/helm_lint.1 index 0ade88c5a..409d00eac 100644 --- a/docs/man/man1/helm_lint.1 +++ b/docs/man/man1/helm_lint.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -59,4 +59,4 @@ or recommendation, it will emit [WARNING] messages. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_list.1 b/docs/man/man1/helm_list.1 index aef144aa7..32e5f405f 100644 --- a/docs/man/man1/helm_list.1 +++ b/docs/man/man1/helm_list.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -148,4 +148,4 @@ flag with the '\-\-offset' flag allows you to page through results. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_package.1 b/docs/man/man1/helm_package.1 index b50ef10d6..30909a722 100644 --- a/docs/man/man1/helm_package.1 +++ b/docs/man/man1/helm_package.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -82,4 +82,4 @@ Versioned chart archives are used by Helm package repositories. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_plugin.1 b/docs/man/man1/helm_plugin.1 index 36bae074f..bb7255488 100644 --- a/docs/man/man1/helm_plugin.1 +++ b/docs/man/man1/helm_plugin.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -47,4 +47,4 @@ Manage client\-side Helm plugins. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_plugin_install.1 b/docs/man/man1/helm_plugin_install.1 index fc4378048..bcd276759 100644 --- a/docs/man/man1/helm_plugin_install.1 +++ b/docs/man/man1/helm_plugin_install.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -53,4 +53,4 @@ install one or more Helm plugins .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_plugin_list.1 b/docs/man/man1/helm_plugin_list.1 index 0db846a2c..4c7b33a4a 100644 --- a/docs/man/man1/helm_plugin_list.1 +++ b/docs/man/man1/helm_plugin_list.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -47,4 +47,4 @@ list installed Helm plugins .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_plugin_remove.1 b/docs/man/man1/helm_plugin_remove.1 index 9d3a20057..5b1ae3e6f 100644 --- a/docs/man/man1/helm_plugin_remove.1 +++ b/docs/man/man1/helm_plugin_remove.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -47,4 +47,4 @@ remove one or more Helm plugins .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_plugin_update.1 b/docs/man/man1/helm_plugin_update.1 new file mode 100644 index 000000000..14313fe82 --- /dev/null +++ b/docs/man/man1/helm_plugin_update.1 @@ -0,0 +1,50 @@ +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" +.nh +.ad l + + +.SH NAME +.PP +helm\-plugin\-update \- update one or more Helm plugins + + +.SH SYNOPSIS +.PP +\fBhelm plugin update <plugin>\&...\fP + + +.SH DESCRIPTION +.PP +update one or more Helm plugins + + +.SH OPTIONS INHERITED FROM PARENT COMMANDS +.PP +\fB\-\-debug\fP[=false] + enable verbose output + +.PP +\fB\-\-home\fP="~/.helm" + location of your Helm config. Overrides $HELM\_HOME + +.PP +\fB\-\-host\fP="" + address of tiller. Overrides $HELM\_HOST + +.PP +\fB\-\-kube\-context\fP="" + name of the kubeconfig context to use + +.PP +\fB\-\-tiller\-namespace\fP="kube\-system" + namespace of tiller + + +.SH SEE ALSO +.PP +\fBhelm\-plugin(1)\fP + + +.SH HISTORY +.PP +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_repo.1 b/docs/man/man1/helm_repo.1 index e073dabcf..aca1eb266 100644 --- a/docs/man/man1/helm_repo.1 +++ b/docs/man/man1/helm_repo.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -52,4 +52,4 @@ Example usage: .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_repo_add.1 b/docs/man/man1/helm_repo_add.1 index 19e2606ac..1d4e45a8e 100644 --- a/docs/man/man1/helm_repo_add.1 +++ b/docs/man/man1/helm_repo_add.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -65,4 +65,4 @@ add a chart repository .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_repo_index.1 b/docs/man/man1/helm_repo_index.1 index 260fa97f3..bd2daab33 100644 --- a/docs/man/man1/helm_repo_index.1 +++ b/docs/man/man1/helm_repo_index.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -66,4 +66,4 @@ into the existing index, with local charts taking priority over existing charts. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_repo_list.1 b/docs/man/man1/helm_repo_list.1 index 33a97d816..d2f8a25a2 100644 --- a/docs/man/man1/helm_repo_list.1 +++ b/docs/man/man1/helm_repo_list.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -47,4 +47,4 @@ list chart repositories .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_repo_remove.1 b/docs/man/man1/helm_repo_remove.1 index b6d48a50d..7e465b1d1 100644 --- a/docs/man/man1/helm_repo_remove.1 +++ b/docs/man/man1/helm_repo_remove.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -47,4 +47,4 @@ remove a chart repository .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_repo_update.1 b/docs/man/man1/helm_repo_update.1 index 1a46691e9..304a9dec2 100644 --- a/docs/man/man1/helm_repo_update.1 +++ b/docs/man/man1/helm_repo_update.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -52,4 +52,4 @@ future releases. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_reset.1 b/docs/man/man1/helm_reset.1 index 6d600d1d2..a3e76ef17 100644 --- a/docs/man/man1/helm_reset.1 +++ b/docs/man/man1/helm_reset.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -79,4 +79,4 @@ $HELM\_HOME (default \~/.helm/) .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_rollback.1 b/docs/man/man1/helm_rollback.1 index 909573969..7528408ed 100644 --- a/docs/man/man1/helm_rollback.1 +++ b/docs/man/man1/helm_rollback.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -94,4 +94,4 @@ second is a revision (version) number. To see revision numbers, run .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_search.1 b/docs/man/man1/helm_search.1 index 7afc38a12..c36b34a6e 100644 --- a/docs/man/man1/helm_search.1 +++ b/docs/man/man1/helm_search.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -65,4 +65,4 @@ Repositories are managed with 'helm repo' commands. .SH HISTORY .PP -18\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_serve.1 b/docs/man/man1/helm_serve.1 index a01385ac2..f5c7d7e65 100644 --- a/docs/man/man1/helm_serve.1 +++ b/docs/man/man1/helm_serve.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -76,4 +76,4 @@ for more information on hosting chart repositories in a production setting. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_status.1 b/docs/man/man1/helm_status.1 index 380ef03a8..87b51f507 100644 --- a/docs/man/man1/helm_status.1 +++ b/docs/man/man1/helm_status.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -80,4 +80,4 @@ The status consists of: .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_test.1 b/docs/man/man1/helm_test.1 index 5936f81ee..d5c6931aa 100644 --- a/docs/man/man1/helm_test.1 +++ b/docs/man/man1/helm_test.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -81,4 +81,4 @@ The tests to be run are defined in the chart that was installed. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_upgrade.1 b/docs/man/man1/helm_upgrade.1 index 0190285b6..e5cd6010b 100644 --- a/docs/man/man1/helm_upgrade.1 +++ b/docs/man/man1/helm_upgrade.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -57,6 +57,10 @@ $ helm upgrade \-\-set foo=bar \-\-set foo=newbar redis ./redis .SH OPTIONS +.PP +\fB\-\-devel\fP[=false] + use development versions, too. Equivalent to version '>0.0.0\-a'. If \-\-version is set, this is ignored. + .PP \fB\-\-dry\-run\fP[=false] simulate an upgrade @@ -163,4 +167,4 @@ $ helm upgrade \-\-set foo=bar \-\-set foo=newbar redis ./redis .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_verify.1 b/docs/man/man1/helm_verify.1 index dcd18e7fd..4bb7ce34a 100644 --- a/docs/man/man1/helm_verify.1 +++ b/docs/man/man1/helm_verify.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -62,4 +62,4 @@ the 'helm package \-\-sign' command. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/docs/man/man1/helm_version.1 b/docs/man/man1/helm_version.1 index f97acf6da..dfc771277 100644 --- a/docs/man/man1/helm_version.1 +++ b/docs/man/man1/helm_version.1 @@ -1,4 +1,4 @@ -.TH "HELM" "1" "Apr 2017" "Auto generated by spf13/cobra" "" +.TH "HELM" "1" "May 2017" "Auto generated by spf13/cobra" "" .nh .ad l @@ -100,4 +100,4 @@ use '\-\-server'. .SH HISTORY .PP -16\-Apr\-2017 Auto generated by spf13/cobra +17\-May\-2017 Auto generated by spf13/cobra diff --git a/pkg/downloader/chart_downloader.go b/pkg/downloader/chart_downloader.go index e1dadcb15..122d0b125 100644 --- a/pkg/downloader/chart_downloader.go +++ b/pkg/downloader/chart_downloader.go @@ -202,7 +202,7 @@ func (c *ChartDownloader) ResolveChartVersion(ref, version string) (*url.URL, ge cv, err := i.Get(chartName, version) if err != nil { - return u, r.Client, fmt.Errorf("chart %q not found in %s index. (try 'helm repo update'). %s", chartName, r.Config.Name, err) + return u, r.Client, fmt.Errorf("chart %q matching %s not found in %s index. (try 'helm repo update'). %s", chartName, version, r.Config.Name, err) } if len(cv.URLs) == 0 { diff --git a/scripts/completions.bash b/scripts/completions.bash index 361e67a62..b2f34f670 100644 --- a/scripts/completions.bash +++ b/scripts/completions.bash @@ -427,6 +427,8 @@ _helm_fetch() flags+=("--destination=") two_word_flags+=("-d") local_nonpersistent_flags+=("--destination=") + flags+=("--devel") + local_nonpersistent_flags+=("--devel") flags+=("--keyring=") local_nonpersistent_flags+=("--keyring=") flags+=("--prov") @@ -769,6 +771,8 @@ _helm_install() flags_with_completion=() flags_completion=() + flags+=("--devel") + local_nonpersistent_flags+=("--devel") flags+=("--dry-run") local_nonpersistent_flags+=("--dry-run") flags+=("--keyring=") @@ -1396,6 +1400,8 @@ _helm_upgrade() flags_with_completion=() flags_completion=() + flags+=("--devel") + local_nonpersistent_flags+=("--devel") flags+=("--disable-hooks") local_nonpersistent_flags+=("--disable-hooks") flags+=("--dry-run") -- GitLab