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.StringVar(&client.CreateNamespaceMetadata,"create-namespace-metadata","","Add namespace metadata as json-formatted string when creating the namespace with --create-namespace.")
// --dry-run options with expected outcome:
// --dry-run options with expected outcome:
// - Not set means no dry run and server is contacted.
// - 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 no value, a value of client, or a value of true and the server is not contacted
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.StringVar(&createNamespaceMetadata,"create-namespace-metadata","","Add namespace metadata as json-formatted string when creating the namespace with --create-namespace.")
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.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.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.")