-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose tls.InsecureSkipVerify to es.tls.* CLI flags #1473
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1473 +/- ##
==========================================
+ Coverage 99.83% 99.83% +<.01%
==========================================
Files 179 179
Lines 8554 8559 +5
==========================================
+ Hits 8540 8545 +5
Misses 7 7
Partials 7 7
Continue to review full report at Codecov.
|
plugin/storage/es/options.go
Outdated
flagSet.Bool( | ||
nsConfig.namespace+suffixSkipHostVerify, | ||
nsConfig.TLS.SkipHostVerify, | ||
"Skip server's certificate chain and host name verification") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add "(insecure)" prefix to the help string
9b7bd2b
to
8c49b3b
Compare
Signed-off-by: stefan vassilev <stefanvassilev1@gmail.com>
Signed-off-by: stefan vassilev <stefanvassilev1@gmail.com>
Signed-off-by: stefan vassilev <stefanvassilev1@gmail.com>
8c49b3b
to
820a881
Compare
Thanks 🙏 |
Which problem is this PR solving?
Short description of the changes
SkipHostVerify
field toTLSConfig
struct, exposed by.tls.skip-host-verify
CLI flag