Skip to content
Browse files

docs(install): clarify the --replace flag (#7089)

* docs(install): clarify the --replace flag

The description of the `--replace` flag was unclear, as it can’t be
used to replace active releases.

Signed-off-by: Remco Haszing <>

* docs(install): reword replace flag description

Signed-off-by: Remco Haszing <>
  • Loading branch information
remcohaszing authored and hickeyma committed Nov 28, 2019
1 parent 8f87900 commit af59e32654f048d62b053afb0860a3bec77444fb
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmd/helm/install.go
@@ -130,7 +130,7 @@ func newInstallCmd(cfg *action.Configuration, out io.Writer) *cobra.Command {
func addInstallFlags(f *pflag.FlagSet, client *action.Install, valueOpts *values.Options) {
f.BoolVar(&client.DryRun, "dry-run", false, "simulate an install")
f.BoolVar(&client.DisableHooks, "no-hooks", false, "prevent hooks from running during install")
f.BoolVar(&client.Replace, "replace", false, "re-use the given name, even if that name is already used. This is unsafe in production")
f.BoolVar(&client.Replace, "replace", false, "re-use the given name, only if that name is a deleted release which remains in the history. This is unsafe in production")
f.DurationVar(&client.Timeout, "timeout", 300*time.Second, "time to wait for any individual Kubernetes operation (like Jobs for hooks)")
f.BoolVar(&client.Wait, "wait", false, "if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful. It will wait for as long as --timeout")
f.BoolVarP(&client.GenerateName, "generate-name", "g", false, "generate the name (and omit the NAME parameter)")

0 comments on commit af59e32

Please sign in to comment.
You can’t perform that action at this time.