Unit tests for certificate rotation
sachinkumarsingh092 opened this issue · 2 comments
sachinkumarsingh092 commented
After #555, we need to write e2e tests for the same as the minimum time for certificate expiration is 10 minutes so this will be a slow test.
shivi28 commented
Renaming the issue title to Unit tests. The integration test for this feature is seemingly complex because creating a local kubeconfig that has < 1min expiry involves copying a lot of code from controller-runtime's internal testing package. So keeping the scope of this issue limited to unit test only.