Add cascade-delete finalizer to stateless apps; document the distinction
This commit is contained in:
@@ -16,6 +16,13 @@ kind: Application
|
||||
metadata:
|
||||
name: longhorn
|
||||
namespace: argocd
|
||||
# Deliberately NO resources-finalizer.argocd.argoproj.io here, unlike
|
||||
# apps/demo.yaml and apps/metallb.yaml. Longhorn's CRDs (Volumes, Replicas,
|
||||
# Engines) represent real data, not just running Pods — cascade-deleting
|
||||
# this Application would tell Longhorn to tear down every volume and
|
||||
# replica in the cluster along with it. Removing apps/longhorn.yaml from
|
||||
# Git should be a rare, deliberate act, confirmed by hand
|
||||
# (see docs/09-growing-up.md), never an accidental one-line prune.
|
||||
spec:
|
||||
project: default
|
||||
|
||||
|
||||
Reference in New Issue
Block a user