Added new page for webhook expiration issue

This commit is contained in:
Jennifer Travinski
2021-10-29 17:18:41 -04:00
parent a740c97919
commit d08fe64710
@@ -0,0 +1,22 @@
---
title: Rotation of Expired Webhook Certificates
weight: 120
---
For Rancher versions that have `rancher-webhook` installed, these certificates will expire after one year. It will be necessary for you to rotate your webhook certificate when this occurs.
Rancher will advise the community once there is a permanent solution in place for this known issue. Currently, there are two methods to work around this issue:
##### 1. Users with cluster access, run the following commands:
```
kubectl delete secret -n cattle-system cattle-webhook-tls
kubectl delete pod -n cattle-system -l app=rancher-webhook
```
##### 2. Users with no cluster access via `kubectl`
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.
> **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.