diff --git a/cmd/helm/rollback.go b/cmd/helm/rollback.go index 764b28ad49f5770d25763bf5615ccd73d2c7e4ac..7e3e1addae18a30568c09841443ab79bbd99f3c8 100644 --- a/cmd/helm/rollback.go +++ b/cmd/helm/rollback.go @@ -72,7 +72,7 @@ func newRollbackCmd(c helm.Interface, out io.Writer) *cobra.Command { f := cmd.Flags() f.BoolVar(&rollback.dryRun, "dry-run", false, "simulate a rollback") - f.BoolVar(&rollback.recreate, "recreate", false, "performs pods restart for the resource if applicable") + f.BoolVar(&rollback.recreate, "recreate-pods", false, "performs pods restart for the resource if applicable") f.BoolVar(&rollback.disableHooks, "no-hooks", false, "prevent hooks from running during rollback") return cmd diff --git a/cmd/helm/upgrade.go b/cmd/helm/upgrade.go index f936514c659506d789dbcaa24536ecdfbfcc9e96..70ce9ea22deab26d40a34dfdb51659fecbde8f07 100644 --- a/cmd/helm/upgrade.go +++ b/cmd/helm/upgrade.go @@ -93,7 +93,7 @@ func newUpgradeCmd(client helm.Interface, out io.Writer) *cobra.Command { f := cmd.Flags() f.VarP(&upgrade.valueFiles, "values", "f", "specify values in a YAML file (can specify multiple)") f.BoolVar(&upgrade.dryRun, "dry-run", false, "simulate an upgrade") - f.BoolVar(&upgrade.recreate, "recreate", false, "performs pods restart for the resource if applicable") + f.BoolVar(&upgrade.recreate, "recreate-pods", false, "performs pods restart for the resource if applicable") f.StringVar(&upgrade.values, "set", "", "set values on the command line. Separate values with commas: key1=val1,key2=val2") f.BoolVar(&upgrade.disableHooks, "disable-hooks", false, "disable pre/post upgrade hooks. DEPRECATED. Use no-hooks") f.BoolVar(&upgrade.disableHooks, "no-hooks", false, "disable pre/post upgrade hooks")