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
cascade delete option is ticked by default , want to have it unticked by default for us. #3205
Comments
Also interested in this feature. I think the default behavior should rather be removing the application from ARGO CD only. I think one wants to easily remove the whole application only in a test environment cluster and but not in a PROD cluster. Thanks |
I got bit by this today (entirely my fault for not paying attention). May I suggest that the
|
@alexmt, should the CLI's default be changed to false as well? |
IMHO, I would wish for the CLI to behave as follows:
However, this would be breaking change for existing automation, I guess. Maybe we could also check whether the execution environment has a pseudo terminal, and if not, skip security check dialogue and assume yes as well. |
I really like your suggestion @jannfis . And pseudo terminal check is a nice workaround to prevent breaking existing automation. |
Hi @alexmt, please assign this to me. |
Done. |
Signed-off-by: Keith Chong <kykchong@redhat.com>
@keithchong @chiragthaker was this fixed by #4994 ? |
This is fixed now. Popup message explains the danger of cascade deletion and ask user to type the app name. |
Hi, sorry to come back on this but it looks like on v2.5.x this is back to the original behavior (cascade by default). |
Adding a not here as I didn't see a solution in this thread. I had the same issue with deleting applicationsets, which would delete the ArgoCD application and in turn delete the cluster resources. Since my applicationsets are managed by ArgoCD itself, a small error with existing applicationsets could set off a chain reaction of deletion. Adding the following prevents this:
|
When you delete app in ARGOCD cascade delete option is by default ticked which can be fatal as it delete resources too from the cluster . Do anyone know how to make default untick when you delete the app from ArgoCD and then choose cascade deletion ok if we really want resources from the cluster to be deleted too.
We use apps-in-apps and want this to be disabled by default.
The text was updated successfully, but these errors were encountered: