-
Notifications
You must be signed in to change notification settings - Fork 925
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
feat!(core): enable tls for grpc connection #3922
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3922 +/- ##
==========================================
+ Coverage 44.83% 45.32% +0.49%
==========================================
Files 265 309 +44
Lines 14620 21974 +7354
==========================================
+ Hits 6555 9960 +3405
- Misses 7313 10937 +3624
- Partials 752 1077 +325 ☔ View full report in Codecov by Sentry. |
nodebuilder/core/config.go
Outdated
// It should not include file names('cert.pem' and 'key.pem'). | ||
// If left empty, the client will be configured for an insecure (non-TLS) connection. | ||
TLSPath string | ||
// XTokenPath specifies the file path to the JSON file containing the X-Token for gRPC authentication. |
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.
comments say this is path to the JSON file, but due to the use of the xtoken
const, needs to be the path to the directory containing a file named xtoken.json
This PR includes all changes from #3917.
The PR introduces 2 additional fields in the core config and 2 cli flags that allow to configure these fields.