Mirrors similar behaviour in the Docker CLI client, minus the
warning that providing passwords on the command line is insecure.
Signed-off-by: Geoff Baskwill <me@geoffbaskwill.ca>
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.StringVar(&inst.repoURL,"repo","","chart repository url where to locate the requested chart")
f.StringVar(&inst.username,"username","","chart repository username where to locate the requested chart")
f.StringVar(&inst.password,"password","","chart repository password where to locate the requested chart")
f.StringVar(&inst.certFile,"cert-file","","identify HTTPS client using this SSL certificate file")
f.StringVar(&inst.keyFile,"key-file","","identify HTTPS client using this SSL key file")
f.StringVar(&inst.caFile,"ca-file","","verify certificates of HTTPS-enabled servers using this CA bundle")
f.BoolVar(&upgrade.reuseValues,"reuse-values",false,"when upgrading, reuse the last release's values and merge in any overrides from the command line via --set and -f. 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.StringVar(&upgrade.repoURL,"repo","","chart repository url where to locate the requested chart")
f.StringVar(&upgrade.username,"username","","chart repository username where to locate the requested chart")
f.StringVar(&upgrade.password,"password","","chart repository password where to locate the requested chart")
f.StringVar(&upgrade.certFile,"cert-file","","identify HTTPS client using this SSL certificate file")
f.StringVar(&upgrade.keyFile,"key-file","","identify HTTPS client using this SSL key file")
f.StringVar(&upgrade.caFile,"ca-file","","verify certificates of HTTPS-enabled servers using this CA bundle")
f.BoolVar(&upgrade.devel,"devel",false,"use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored.")
f.StringVar(&upgrade.description,"description","","specify the description to use for the upgrade, rather than the default")