feat: add support for reloading certs when renewed#917
Conversation
3a6e08e to
70267f6
Compare
|
Would you mind explaining how this works? Under what conditions is "getCertificate" executed?
|
Sure, my understanding is that it is executed on every TLS handshake. Which does makes it pretty inefficient at present! |
70267f6 to
ecb30d6
Compare
ecb30d6 to
ca940b6
Compare
On this, I'd argue that the returned certificate is not being modified. The cert/key on file will change over time but we are not modifying what is returned to |
For #45 so the k8s-image-swapper can handle the rotation of webhook certificates