WebhookServer sslcontext and certificate file refreshing #1045
-
I've been poking around the codebase with regard to the I'm looking to set up a webhookserver using
Diving down into WebhookServer a bit, I found Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Yes, it will stop working one way or another (I did not test this scenario). There is no reloading of certificates after their expiration — for the sake of simplicity, mainly. One way would be to restart the whole operator. Another way would be to inherit from the provided webhookserver class (or write a new one) and reload the certificates on desired triggers/conditions. The design of those classes is intentionally extensible. |
Beta Was this translation helpful? Give feedback.
Yes, it will stop working one way or another (I did not test this scenario). There is no reloading of certificates after their expiration — for the sake of simplicity, mainly.
One way would be to restart the whole operator. Another way would be to inherit from the provided webhookserver class (or write a new one) and reload the certificates on desired triggers/conditions. The design of those classes is intentionally extensible.