Checklist:
Describe the bug
Since version 2.4.3 I noticed argocd-server is sometimes serving older / expired certs that should not be served any more. We first noticed this after the upgrade from 2.2.5 to 2.4.11. The problem exists in 2.4.12 too.
To Reproduce
Use this https://github.com/vx-github/vx-argocd-cert-bug to easily reproduce the issue locally in a kind cluster.
Expected behavior
Expected behavior would be that argcd-server only serves / uses the cert in argocd-server-tls secret if it exists and doesn't serves / uses certs it was not supposed to (old / expired ones).