-
Notifications
You must be signed in to change notification settings - Fork 31
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
Allow otlp grpc and http to be enabled with TLS on monolithic #977
Allow otlp grpc and http to be enabled with TLS on monolithic #977
Conversation
ec7b1cb
to
990f535
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #977 +/- ##
=======================================
Coverage 73.22% 73.23%
=======================================
Files 105 105
Lines 6503 6512 +9
=======================================
+ Hits 4762 4769 +7
- Misses 1450 1451 +1
- Partials 291 292 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
8b3b70b
to
7bb9fd5
Compare
7bb9fd5
to
33abac3
Compare
c6b1049
to
95eb3c1
Compare
hasVolume := containsVolume(pod, caConfigMap) | ||
if !hasVolume { |
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.
How about?
hasVolume := containsVolume(pod, caConfigMap) | |
if !hasVolume { | |
if !containsVolume(pod, caConfigMap) { |
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.
it's fine. I can do the change
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.
Changed! thanks for the review!
// ReceiverHTTPTLSCADir is the path that is mounted from the configmap for TLS for receiver. | ||
ReceiverHTTPTLSCADir = "/var/run/ca-receiver/http" | ||
// ReceiverHTTPTLSCertDir returns the mount path of the receivers certificates (for ingesting traces). | ||
ReceiverHTTPTLSCertDir = TLSDir + "/receiver/http" |
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.
Wht don't we use path.Join
here?
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.
We can but I don't think we need it, this are constants, we don't need to deal with double slashes, empty strings etc..
95eb3c1
to
0e4a8c4
Compare
Signed-off-by: Ruben Vargas <[email protected]>
Fixes #976