You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
anfernee
changed the title
RefreshingCert should be based on the cert expire time, not after 180 days
RefreshCert should be based on the cert expire time, not after 180 days
Oct 31, 2018
This is not an real issue, since each time the server starts, it checks if the cert is valid (i.e. not expire in the next 6 months).
In current setup, timer is 180 days.
In the worst case, the server restarts at 179th day after the certs are generated. And after another 180 days, timer fires, the server rotates the certs. Nothing breaks.
A server restart will reset the timer but not the certificate. Unless we refresh certificate every time we start the server.
controller-runtime/pkg/webhook/server.go
Line 226 in a8ea205
The text was updated successfully, but these errors were encountered: