-
Notifications
You must be signed in to change notification settings - Fork 69
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
make teardown always remove istio-system namespace #999
Comments
@nak3 do we expect anyone to run |
Yes, we do. Actually I opened this issue based on a Red Hat engineer's question. He wanted to test the latest (main branch's) serverless-operator version on his demo env, and he wanted to clean up the resources related to the serverless only. |
@nak3 it seems that delete_namespaces serverless-operator/hack/teardown.sh Line 13 in bda392e
serverless-operator/hack/lib/vars.bash Line 46 in bda392e
serverless-operator/hack/lib/vars.bash Lines 42 to 43 in bda392e
@devguyio @pierDipi can we remove that default ns and have the zipkin ns defined explicitly so we can avoid the unexpected deletion during teardown? |
description
Since
NAMESPACES
env value registersistio-system
namespace,make teardown
always removes istio-system.serverless-operator/hack/lib/vars.bash
Lines 42 to 46 in b96019b
version
HEAD(b96019b)
step to produces
1. Install only operator
2. Run make teardown
As you can see the last line, the command deletes
istio-system
namespace.Although we assumed that this repo was development purpose, removing unexpected namespace is kind of dangerous.
The text was updated successfully, but these errors were encountered: