thelabdude opened a new pull request #318:
URL: https://github.com/apache/solr-operator/pull/318


   Fixes #317 
   
   Use `fsnotify` to watch the mTLS `tls.crt` file (mounted from a secret) to 
hot reload the certificate for the Http client used to make calls to Solr.
   
   For files loaded from a secret, the watched file will be a symlink that gets 
removed and re-added when the underlying secret changes. Thus, our watcher 
responds to a REMOVE event on the symlink to reload the certificate.
   
   TODO: Need to investigate if we can just update the Certificate on the 
existing TLS Transport or whether we need to re-create the `http.Client` with a 
new `Transport` as the code is doing now?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to