## How to re-generate the rancher-webhook
1. Remove rancher.cattle.io validating and mutating webhooks, as well as the webhook service:
kubectl delete mutatingwebhookconfigurations rancher.cattle.io
kubectl delete validatingwebhookconfigurations rancher.cattle.io
kubectl -n cattle-system delete service webhook-service
kubectl delete mutatingwebhookconfigurations rancher.cattle.io
kubectl delete validatingwebhookconfigurations rancher.cattle.io
kubectl -n cattle-system delete service webhook-service
2. Navigate to Apps & Marketplace in the local cluster Explorer, Installed Apps, and
perform an 'upgrade' of rancher-webhook to trigger the recreation of deleted resources
and a new rancher-wehbook-tls certificate secret.
No comments:
Post a Comment