You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If WEBHOOK_NAMESPACE is an existing namespace, then uninstalling the generated manifest will delete that namespace.
Add safety to the install procedure to ensure that WEBHOOK_NAMESPACE is always a new namespace, or avoid declaring the namespace in ziti-webhook-spec.yaml when WEBHOOK_NAMESPACE happens to exist already.
A simple way to accomplish this is to avoid declaring the Namespace resource in ziti-webhook-spec.yaml. That way, the admin must create the namespace if it does not exist, and uninstalling ziti-webhook-spec.yaml will never put any namespace at risk.
The text was updated successfully, but these errors were encountered:
In my branch, I changed invalid kubectl -f commands like kubectl create -f, which will always fail if the namespace exists. That way, the user must opt-in to deploying in an existing namespace by changing create to apply, which runs the risk of deleting that namespace if they later command kubectl delete -f
If
WEBHOOK_NAMESPACE
is an existing namespace, then uninstalling the generated manifest will delete that namespace.Add safety to the install procedure to ensure that
WEBHOOK_NAMESPACE
is always a new namespace, or avoid declaring the namespace inziti-webhook-spec.yaml
whenWEBHOOK_NAMESPACE
happens to exist already.A simple way to accomplish this is to avoid declaring the
Namespace
resource inziti-webhook-spec.yaml
. That way, the admin must create the namespace if it does not exist, and uninstallingziti-webhook-spec.yaml
will never put any namespace at risk.The text was updated successfully, but these errors were encountered: