Redis Pods In Automation Suite Out Of Sync Due To x509 Certificate Expiration

What are the steps to resolve an x509 certificate expired causing Redis to be unavailable in Automation Suite.

Redis pods out of sync/missing/down due to expired x509 certificate in log.

Root Cause: The Rancher Webhook certificate is expired.


Resolution: The steps to renew Rancher webhook certificate are as follows,

kubectl delete secret -n cattle-system cattle-webhook-tls
kubectl delete mutatingwebhookconfigurations.admissionregistration.k8s.io --ignore-not-found=true rancher.cattle.io
kubectl delete pod -n cattle-system -l app=rancher-webhook