From f0710d19d6dd7cc3691948c132618d6db2f90415 Mon Sep 17 00:00:00 2001 From: oernii Date: Fri, 26 May 2023 15:17:44 +0000 Subject: [PATCH 1/2] Add deletion of validatingwebhookconfigurations to stuck uninstall Signed-off-by: oernii --- content/docs/installation/kubectl.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/docs/installation/kubectl.md b/content/docs/installation/kubectl.md index 655f0ecbdf2..97c74e810d7 100644 --- a/content/docs/installation/kubectl.md +++ b/content/docs/installation/kubectl.md @@ -117,6 +117,11 @@ First, delete existing cert-manager webhook configurations, if any: kubectl delete mutatingwebhookconfigurations cert-manager-webhook ``` +Then try do delete the corresponding validatingwebhookconfigurations +```bash +kubectl delete validatingwebhookconfigurations cert-manager-webhook +``` + Then change the `.metadata.finalizers` field to an empty list by editing the challenge resource: ```bash From 37857b0369eb92a34e605bcf419168e18f2f8027 Mon Sep 17 00:00:00 2001 From: Tim Ramlot <42113979+inteon@users.noreply.github.com> Date: Tue, 5 Sep 2023 10:26:05 +0200 Subject: [PATCH 2/2] apply review feedback Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com> --- content/docs/installation/kubectl.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/content/docs/installation/kubectl.md b/content/docs/installation/kubectl.md index 97c74e810d7..4c5d8ab3685 100644 --- a/content/docs/installation/kubectl.md +++ b/content/docs/installation/kubectl.md @@ -115,10 +115,6 @@ First, delete existing cert-manager webhook configurations, if any: ```bash kubectl delete mutatingwebhookconfigurations cert-manager-webhook -``` - -Then try do delete the corresponding validatingwebhookconfigurations -```bash kubectl delete validatingwebhookconfigurations cert-manager-webhook ```