Back to results for “Applications”
ArgoCD › App of Apps

How does cascading deletion work with App of Apps?

Intermediate

Answer

Deleting the parent Application can delete its children (and their resources) if finalizers/prune are set for cascading deletion. The resources-finalizer on an Application causes ArgoCD to delete the app's managed resources when the app is removed. Understanding this prevents accidental teardown of whole environments.
metadata:
  finalizers:
    - resources-finalizer.argocd.argoproj.io
Real-world example Removing the root app with the resources finalizer tears down every child app and its workloads—useful for env teardown, dangerous by accident.

Common follow-ups: What does the resources-finalizer do? | How do you prevent accidental cascade deletes?