Skip to main content

Module finalizers

Module finalizers 

Source
Expand description

Generic helpers for managing finalizers on resources.

These helpers only mutate the object in memory; persisting the change (e.g. via a patch) is up to the caller. For reconcilers, prefer kube_runtime::finalizer (https://docs.rs/kube/latest/kube/runtime/finalizer/fn.finalizer.html): it persists the finalizer to the apiserver before any work starts, which adding it in memory and writing it back later does not guarantee.

Traitsยง

FinalizerExt
Extension trait for managing finalizers on any Resource