Skip to main content

PRUNED_BY_ANNOTATION

Constant PRUNED_BY_ANNOTATION 

Source
pub const PRUNED_BY_ANNOTATION: &str = "kopiur.home-operations.com/pruned-by";
Expand description

Marks a Snapshot the OPERATOR is deleting as part of its own lifecycle, stamped immediately before the delete call. Values: PrunedBy annotation values (retention, failed-history). The Snapshot finalizer uses it to distinguish Kopiur’s own prunes from external deletions (GC cascades, kubectl, third-party controllers); external destructive deletions are subject to the schedule-cascade guard and the mass-deletion breaker, operator prunes are not. Any unrecognized value is treated as EXTERNAL (fail-safe). Wire-visible: users and tooling may read it on terminating CRs.