Community
function-deletion-protection
By crossplane-contrib
Last changed 2 months ago
Source Code

Notice something off about this package? Help us keep the marketplace safe and trustworthy by reporting inappropriate content or behavior.

Report this package
Overview
A function that prevents deletion by creating Usages.

Prevents accidental deletion of Kubernetes objects and Crossplane-managed Cloud Resources by automatically creating Usages. Works in Composition pipelines or as an Operation. For Compositions apply the protection.fn.crossplane.io/block-deletion label to resources you want to protect.

When invoked by a WatchOperation, any resource that matches the selectors will be protected.

This function supports creating both Crossplane v1 (cluster-scoped) and v2 (cluster and namespace-scoped) Usages.

Discover the building blocks for your internal cloud platform.
© 2026 Upbound, Inc.
Solutions
Learn
Company
Community
More