-
Notifications
You must be signed in to change notification settings - Fork 187
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
[RFE] undeploy: Add flag to leave namespace intact #2692
Comments
I see two options here to avoid adding a new flag.
I'm more leaned towards the second option, I don't think we should be complicating our logic to support a lot of corner cases. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current situation
When using
kubectl gadget undeploy
the namespace is getting removedImpact
Different configurations and other things that might live in the same namespace will get removed.
For example PR #2675 introduces image verification. After a deploy one has to remember to add the label back to the namespace. This can be easily overseen
Ideal future situation
kubectl gadget undeploy --leave-namespace
removes everything IG related, but keeps the namespaceImplementation options
Add the flag
The text was updated successfully, but these errors were encountered: