Add cascade-delete finalizer to stateless apps; document the distinction
This commit is contained in:
@@ -24,6 +24,13 @@ kind: Application
|
||||
metadata:
|
||||
name: demo
|
||||
namespace: argocd
|
||||
# Without this finalizer, deleting this Application object only makes
|
||||
# Argo CD forget about its resources — the namespace, Deployment, and
|
||||
# Service would keep running, orphaned and unmanaged. This finalizer
|
||||
# makes deletion cascade: remove apps/demo.yaml from Git, and everything
|
||||
# this Application deployed is actually torn down too.
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: default
|
||||
|
||||
|
||||
Reference in New Issue
Block a user