mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-24 20:18:18 +00:00
Add missing steps for recovering from cert expiration (#3712)
* Improve instructions on cert expiration Add instructions for deleting the mutating webhook * Update content/rancher/v2.6/en/troubleshooting/expired-webhook-certificates/_index.md Co-authored-by: Caleb Bron <cbron@users.noreply.github.com> Co-authored-by: Caleb Bron <cbron@users.noreply.github.com>
This commit is contained in:
co-authored by
Caleb Bron
parent
0a14a421bd
commit
16bdbc7c6e
@@ -10,6 +10,7 @@ Rancher will advise the community once there is a permanent solution in place fo
|
||||
##### 1. Users with cluster access, run the following commands:
|
||||
```
|
||||
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
|
||||
```
|
||||
|
||||
@@ -17,6 +18,8 @@ kubectl delete pod -n cattle-system -l app=rancher-webhook
|
||||
|
||||
1. Delete the `cattle-webhook-tls` secret in the `cattle-system` namespace in the local cluster.
|
||||
|
||||
1. Delete the `rancher-webhook` pod in the `cattle-system` namespace in the local cluster.
|
||||
2. Delete the `rancher.cattle.io` mutating webhook
|
||||
|
||||
**Note:** The webhook certificate expiration issue is not specific to `cattle-webhook-tls` as listed in the examples. You will fill in your expired certificate secret accordingly.
|
||||
3. Delete the `rancher-webhook` pod in the `cattle-system` namespace in the local cluster.
|
||||
|
||||
**Note:** The webhook certificate expiration issue is not specific to `cattle-webhook-tls` as listed in the examples. You will fill in your expired certificate secret accordingly.
|
||||
|
||||
Reference in New Issue
Block a user