Cascading deletion of Argo CD apps using GitOps

I learned to consider always setting the finalizer (resources-finalizer.argocd.argoproj.io) with all Argo CD apps a good practice.
Edit: Exception: root app of apps.

๐Ÿ’ก This way, users won't be surprised to find that the resources they wanted to delete keep on running but are no longer tracked in Git or by Argo CD (AKA orphaned).

https://argo-cd.readthedocs.io/en/release-3.2/user-guide/app_deletion/#about-the-deletion-finalizer

#ArgoCD #GitOps

@schnatterer just donโ€™t do it on your main app-of-apps app. Or the app managing Argo CD. Ask me how I know.
@tico24
Haha, that's a good point. Not setting prune to true on app of apps is a thing ๐Ÿ˜