stale-issue-message:'This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.'
stale-issue-message:'This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.'
@ -48,6 +48,7 @@ func addValueOptionsFlags(f *pflag.FlagSet, v *values.Options) {
f.StringArrayVar(&v.StringValues,"set-string",[]string{},"set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)")
f.StringArrayVar(&v.StringValues,"set-string",[]string{},"set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)")
f.StringArrayVar(&v.FileValues,"set-file",[]string{},"set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2)")
f.StringArrayVar(&v.FileValues,"set-file",[]string{},"set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2)")
f.StringArrayVar(&v.JSONValues,"set-json",[]string{},"set JSON values on the command line (can specify multiple or separate values with commas: key1=jsonval1,key2=jsonval2)")
f.StringArrayVar(&v.JSONValues,"set-json",[]string{},"set JSON values on the command line (can specify multiple or separate values with commas: key1=jsonval1,key2=jsonval2)")
f.StringArrayVar(&v.LiteralValues,"set-literal",[]string{},"set a literal STRING value on the command line")
f.BoolVar(&client.CreateNamespace,"create-namespace",false,"create the release namespace if not present")
f.BoolVar(&client.CreateNamespace,"create-namespace",false,"create the release namespace if not present")
f.BoolVar(&client.DryRun,"dry-run",false,"simulate an install")
// --dry-run options with expected outcome:
// - Not set means no dry run and server is contacted.
// - Set with no value, a value of client, or a value of true and the server is not contacted
// - Set with a value of false, none, or false and the server is contacted
// The true/false part is meant to reflect some legacy behavior while none is equal to "".
f.StringVar(&client.DryRunOption,"dry-run","","simulate an install. If --dry-run is set with no option being specified or as '--dry-run=client', it will not attempt cluster connections. Setting '--dry-run=server' allows attempting cluster connections.")
f.Lookup("dry-run").NoOptDefVal="client"
f.BoolVar(&client.Force,"force",false,"force resource updates through a replacement strategy")
f.BoolVar(&client.DisableHooks,"no-hooks",false,"prevent hooks from running during 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, only if that name is a deleted release which remains in the history. 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.DurationVar(&client.Timeout,"timeout",300*time.Second,"time to wait for any individual Kubernetes operation (like Jobs for hooks)")
f.BoolVar(&client.Atomic,"atomic",false,"if set, the installation process deletes the installation on failure. The --wait flag will be set automatically if --atomic is used")
f.BoolVar(&client.Atomic,"atomic",false,"if set, the installation process deletes the installation on failure. The --wait flag will be set automatically if --atomic is used")
f.BoolVar(&client.SkipCRDs,"skip-crds",false,"if set, no CRDs will be installed. By default, CRDs are installed if not already present")
f.BoolVar(&client.SkipCRDs,"skip-crds",false,"if set, no CRDs will be installed. By default, CRDs are installed if not already present")
f.BoolVar(&client.SubNotes,"render-subchart-notes",false,"if set, render subchart notes along with the parent")
f.BoolVar(&client.SubNotes,"render-subchart-notes",false,"if set, render subchart notes along with the parent")
f.BoolVar(&client.EnableDNS,"enable-dns",false,"enable DNS lookups when rendering templates")
f.BoolVar(&client.DisableHooks,"no-hooks",false,"prevent hooks from running during uninstallation")
f.BoolVar(&client.DisableHooks,"no-hooks",false,"prevent hooks from running during uninstallation")
f.BoolVar(&client.KeepHistory,"keep-history",false,"remove all associated resources and mark the release as deleted, but retain the release history")
f.BoolVar(&client.KeepHistory,"keep-history",false,"remove all associated resources and mark the release as deleted, but retain the release history")
f.BoolVar(&client.Wait,"wait",false,"if set, will wait until all the resources are deleted before returning. It will wait for as long as --timeout")
f.BoolVar(&client.Wait,"wait",false,"if set, will wait until all the resources are deleted before returning. It will wait for as long as --timeout")
f.StringVar(&client.DeletionPropagation,"cascade","background","Must be \"background\", \"orphan\", or \"foreground\". Selects the deletion cascading strategy for the dependents. Defaults to background.")
f.DurationVar(&client.Timeout,"timeout",300*time.Second,"time to wait for any individual Kubernetes operation (like Jobs for hooks)")
f.DurationVar(&client.Timeout,"timeout",300*time.Second,"time to wait for any individual Kubernetes operation (like Jobs for hooks)")
f.StringVar(&client.Description,"description","","add a custom description")
f.StringVar(&client.Description,"description","","add a custom description")
f.BoolVar(&createNamespace,"create-namespace",false,"if --install is set, create the release namespace if not present")
f.BoolVar(&createNamespace,"create-namespace",false,"if --install is set, create the release namespace if not present")
f.BoolVarP(&client.Install,"install","i",false,"if a release by this name doesn't already exist, run an install")
f.BoolVarP(&client.Install,"install","i",false,"if a release by this name doesn't already exist, run an install")
f.BoolVar(&client.Devel,"devel",false,"use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored")
f.BoolVar(&client.Devel,"devel",false,"use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored")
f.BoolVar(&client.DryRun,"dry-run",false,"simulate an upgrade")
f.StringVar(&client.DryRunOption,"dry-run","","simulate an install. If --dry-run is set with no option being specified or as '--dry-run=client', it will not attempt cluster connections. Setting '--dry-run=server' allows attempting cluster connections.")
f.Lookup("dry-run").NoOptDefVal="client"
f.BoolVar(&client.Recreate,"recreate-pods",false,"performs pods restart for the resource if applicable")
f.BoolVar(&client.Recreate,"recreate-pods",false,"performs pods restart for the resource if applicable")
f.MarkDeprecated("recreate-pods","functionality will no longer be updated. Consult the documentation for other methods to recreate pods")
f.MarkDeprecated("recreate-pods","functionality will no longer be updated. Consult the documentation for other methods to recreate pods")
f.BoolVar(&client.Force,"force",false,"force resource updates through a replacement strategy")
f.BoolVar(&client.Force,"force",false,"force resource updates through a replacement strategy")