mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-21 03:38:43 +00:00
Merge pull request #849 from mmerrill3/fix_flagset
for glog, re-using flag.Commandline instead of a new flagset
This commit is contained in:
commit
8c46a44edd
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ var (
|
|||
|
||||
func init() {
|
||||
cfg.CrdKinds = monitoringv1.DefaultCrdKinds
|
||||
flagset := flag.NewFlagSet(os.Args[0], flag.ExitOnError)
|
||||
flagset := flag.CommandLine
|
||||
flagset.StringVar(&cfg.Host, "apiserver", "", "API Server addr, e.g. ' - NOT RECOMMENDED FOR PRODUCTION - http://127.0.0.1:8080'. Omit parameter to run in on-cluster mode and utilize the service account token.")
|
||||
flagset.StringVar(&cfg.TLSConfig.CertFile, "cert-file", "", " - NOT RECOMMENDED FOR PRODUCTION - Path to public TLS certificate file.")
|
||||
flagset.StringVar(&cfg.TLSConfig.KeyFile, "key-file", "", "- NOT RECOMMENDED FOR PRODUCTION - Path to private TLS certificate file.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue