ancient-energy-15842
07/06/2022, 7:32 PMConfiguring
stage and if I take a look into the docker container logs I see a lot of this lines
[ERROR] failed to call leader func: failed to add management data: problem reconciling role templates: couldn't update project-member: Internal error occurred: failed calling webhook "<http://rancherauth.cattle.io|rancherauth.cattle.io>": Post "<https://rancher-we>
bhook.cattle-system.svc:443/v1/webhook/validation?timeout=10s": x509: certificate has expired or is not yet valid: current time 2022-07-06T19:29:10Z is after 2022-07-05T20:45:47Z
I tried what was recomended at this page
https://rancher.com/docs/rancher/v2.6/en/troubleshooting/expired-webhook-certificates/
but I got
kubectl delete secret -n cattle-system cattle-webhook-tls
Error from server (NotFound): secrets "cattle-webhook-tls" not found
kubectl delete mutatingwebhookconfigurations.admissionregistration.k8s.io --ignore-not-found=true rancher.cattle.io
This one went fine
kubectl delete pod -n cattle-system -l app=rancher-webhook
No resources found
After that, I restarted the container and the error still shows upcreamy-pencil-82913
07/06/2022, 7:51 PMNote: The webhook certificate expiration issue is not specific toWhat secrets do you have in the cattle-system namespace?as listed in the examples. You will fill in your expired certificate secret accordingly.cattle-webhook-tls
ancient-energy-15842
07/06/2022, 8:00 PMcreamy-pencil-82913
07/06/2022, 8:04 PM