-
Notifications
You must be signed in to change notification settings - Fork 30
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
support ssl encryption #191
Conversation
imagePullPolicy: Always | ||
|
||
imagePullSecrets: [] | ||
imagePullSecrets: [ ] |
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.
why need add a extra space?
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.
Here is formatted by development tool.
pkg/nebula/client.go
Outdated
if opts.EnableClusterTLS { | ||
sock, err = thrift.NewSSLSocketTimeout(endpoint, opts.TLSConfig, opts.Timeout) | ||
} else if opts.EnableMetaTLS && !opts.IsStorage { | ||
sock, err = thrift.NewSSLSocketTimeout(endpoint, opts.TLSConfig, opts.Timeout) |
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.
if opts.EnableClusterTLS
or opts.EnableMetaTLS && !opts.IsStorage
sock are same?
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.
Here can be simplified.
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.
LGTM
What type of PR is this?
What problem(s) does this PR solve?
Issue(s) number:
Description:
How do you solve it?
Special notes for your reviewer, ex. impact of this fix, design document, etc: