-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Sidecar: Loads the TLS certificate during startup. #5995
Sidecar: Loads the TLS certificate during startup. #5995
Conversation
3ddb06d
to
297b958
Compare
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.
💪 thanks!
Seems like there are some conflicts. Care to fix them? 😄 |
@GiedriusS, Sure. Will fix it. |
Head branch was pushed to by a user without write access
Signed-off-by: maheshbaliga <mahesh.baliga@infracloud.io>
Head branch was pushed to by a user without write access
e029dc8
to
ffafaf8
Compare
@GiedriusS, the conflict has been resolved. Kindly merge the 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.
Thanks! 🌟
Signed-off-by: maheshbaliga <mahesh.baliga@infracloud.io> Signed-off-by: maheshbaliga <mahesh.baliga@infracloud.io> Signed-off-by: Kartik-Garg <kartik.garg@infracloud.io>
Signed-off-by: maheshbaliga <mahesh.baliga@infracloud.io> Signed-off-by: maheshbaliga <mahesh.baliga@infracloud.io>
Signed-off-by: maheshbaliga <mahesh.baliga@infracloud.io> Signed-off-by: maheshbaliga <mahesh.baliga@infracloud.io>
Closes [#5223] [#4923]
Changes
The sidecar did not validate the certificate and key while starting; Reading and parsing of the certificate were done only when the client initiated the TLS handshake with the sidecar. This is when the certificate related issues surfaced.
With this code change, these files are now loaded and checked by the sidecar when it starts.
Verification
Tested the fix by adding unit tests. Also, by running the sidecar and query components with TLS configurations.