Closed huikang closed 1 day ago
This is VERY cool, thank you for making this PR! ✨
This is VERY cool, thank you for making this PR! ✨
@thrawn01 , thanks for your quick feedback! I will look into the failed test cases and update the PR.
@Baliedge , is there any chance you can help review the PR? Happy to make any change if needed. Thanks.
I'll release this with #35 once that is merged.
As I deploy gubernator with tls and need to rotate the cert/key, which are generated by some secret management tool like vault, I want the gubernator instance to reload the cert/key without being restarted.
This PR allows gubernator to hot-reload tls cert/key on receiving a
SIGHUP
signal. AKeypairReloader
method is used to reload the cert/key and assigned toGetCertificate
.Note that
clientTLS
is still statically assigned becauseGetCertificate
is inapplicable to TLS client.example.conf
is updated.