Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup is not deleting webhooks #36905

Closed
kameshsampath opened this issue Jan 20, 2022 · 3 comments
Closed

Cleanup is not deleting webhooks #36905

kameshsampath opened this issue Jan 20, 2022 · 3 comments
Labels
area/environments lifecycle/automatically-closed Indicates a PR or issue that has been closed automatically. lifecycle/stale Indicates a PR or issue hasn't been manipulated by an Istio team member for a while

Comments

@kameshsampath
Copy link

kameshsampath commented Jan 20, 2022

Bug Description

I installed istio by istioctl install --set profile=default and when I uninstalled the same following the steps https://istio.io/latest/docs/setup/install/operator/#uninstall, I still see the webhooks left over after cleanup. This is causing an issue when trying to do a new revision based install on the same cluster.

Version

`istioctl version`
1.12.1
`kubectl version`
Client Version: v1.22.5
Server Version: v1.21.8+k3s1

Additional Information

After cleanup listing the webhooks on the cluster

➜  k get mutatingwebhookconfigurations.admissionregistration.k8s.io,validatingwebhookconfigurations.admissionregistration.k8s.io --show-labels
NAME                                                                                   WEBHOOKS   AGE   LABELS
mutatingwebhookconfiguration.admissionregistration.k8s.io/istio-revision-tag-default   4          91m   app=sidecar-injector,install.operator.istio.io/owning-resource=unknown,istio.io/rev=default,istio.io/tag=default,operator.istio.io/component=Pilot,release=istio

NAME                                                                                   WEBHOOKS   AGE   LABELS
validatingwebhookconfiguration.admissionregistration.k8s.io/istiod-default-validator   1          91m   app=istiod,istio.io/rev=default,istio.io/tag=default,istio=istiod,operator.istio.io/component=Pilot
@kameshsampath
Copy link
Author

CC: @nrjpoddar @rinormaloku

@keithmattix
Copy link
Contributor

I'm running into this as well

@istio-policy-bot istio-policy-bot added the lifecycle/stale Indicates a PR or issue hasn't been manipulated by an Istio team member for a while label Apr 21, 2022
@istio-policy-bot
Copy link

🚧 This issue or pull request has been closed due to not having had activity from an Istio team member since 2022-01-20. If you feel this issue or pull request deserves attention, please reopen the issue. Please see this wiki page for more information. Thank you for your contributions.

Created by the issue and PR lifecycle manager.

@istio-policy-bot istio-policy-bot added the lifecycle/automatically-closed Indicates a PR or issue that has been closed automatically. label May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/environments lifecycle/automatically-closed Indicates a PR or issue that has been closed automatically. lifecycle/stale Indicates a PR or issue hasn't been manipulated by an Istio team member for a while
Projects
None yet
Development

No branches or pull requests

3 participants