when doing the following commands:
* `helm repo add`
* `helm repo update`
* `helm search repo`
the new flag `--hide-validation-warnings` will suppress the message
"skipping loading invalid entry for chart"
Closes#9407
Signed-off-by: Russell Cousineau <russell.cousineau@xandr.com>
f.StringVar(&o.caFile,"ca-file","","verify certificates of HTTPS-enabled servers using this CA bundle")
f.StringVar(&o.caFile,"ca-file","","verify certificates of HTTPS-enabled servers using this CA bundle")
f.BoolVar(&o.insecureSkipTLSverify,"insecure-skip-tls-verify",false,"skip tls certificate checks for the repository")
f.BoolVar(&o.insecureSkipTLSverify,"insecure-skip-tls-verify",false,"skip tls certificate checks for the repository")
f.BoolVar(&o.allowDeprecatedRepos,"allow-deprecated-repos",false,"by default, this command will not allow adding official repos that have been permanently deleted. This disables that behavior")
f.BoolVar(&o.allowDeprecatedRepos,"allow-deprecated-repos",false,"by default, this command will not allow adding official repos that have been permanently deleted. This disables that behavior")
f.BoolVar(&o.hideValidationWarnings,"hide-validation-warnings",false,"hide validation warnings while indexing repository")
f.BoolVarP(&o.regexp,"regexp","r",false,"use regular expressions for searching repositories you have added")
f.BoolVarP(&o.regexp,"regexp","r",false,"use regular expressions for searching repositories you have added")
f.BoolVarP(&o.versions,"versions","l",false,"show the long listing, with each version of each chart on its own line, for repositories you have added")
f.BoolVarP(&o.versions,"versions","l",false,"show the long listing, with each version of each chart on its own line, for repositories you have added")
f.BoolVar(&o.devel,"devel",false,"use development versions (alpha, beta, and release candidate releases), too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored")
f.BoolVar(&o.devel,"devel",false,"use development versions (alpha, beta, and release candidate releases), too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored")
f.BoolVar(&o.hideValidationWarnings,"hide-validation-warnings",false,"hide validation warnings while indexing repository")
f.StringVar(&o.version,"version","","search using semantic versioning constraints on repositories you have added")
f.StringVar(&o.version,"version","","search using semantic versioning constraints on repositories you have added")
f.UintVar(&o.maxColWidth,"max-col-width",50,"maximum column width for output table")
f.UintVar(&o.maxColWidth,"max-col-width",50,"maximum column width for output table")