Skip to content

Commit

Permalink
Merge pull request etcd-io#18545 from qsyqian/benchmark_support_skip_…
Browse files Browse the repository at this point in the history
…tls_verify

benchmark: support InsecureSkipVerify
  • Loading branch information
ahrtr authored Sep 8, 2024
2 parents bf63f91 + 46cf1e6 commit f89dfed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/benchmark/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ func init() {
RootCmd.PersistentFlags().StringVar(&tls.CertFile, "cert", "", "identify HTTPS client using this SSL certificate file")
RootCmd.PersistentFlags().StringVar(&tls.KeyFile, "key", "", "identify HTTPS client using this SSL key file")
RootCmd.PersistentFlags().StringVar(&tls.TrustedCAFile, "cacert", "", "verify certificates of HTTPS-enabled servers using this CA bundle")
RootCmd.PersistentFlags().BoolVar(&tls.InsecureSkipVerify, "insecure-skip-tls-verify", false, "skip server certificate verification")

RootCmd.PersistentFlags().StringVar(&user, "user", "", "provide username[:password] and prompt if password is not supplied.")
RootCmd.PersistentFlags().DurationVar(&dialTimeout, "dial-timeout", 0, "dial timeout for client connections")
Expand Down

0 comments on commit f89dfed

Please sign in to comment.