Skip to content

Add support for Deletion Sequencing#89

Merged
bobh66 merged 2 commits into
crossplane-contrib:mainfrom
bobh66:create_usages
Jan 17, 2026
Merged

Add support for Deletion Sequencing#89
bobh66 merged 2 commits into
crossplane-contrib:mainfrom
bobh66:create_usages

Conversation

@bobh66
Copy link
Copy Markdown
Collaborator

@bobh66 bobh66 commented Dec 20, 2025

Description of your changes

Added support for sequencing of resource deletion using the resource dependency graph. Usage and/or ClusterUsage resources are created based on the dependencies used for resource creation. Supports both Crossplane v1 Usage.apiextension.crossplane.io and Crossplane v2 Usage.protection.crossplane.io/ClusterUsage.protection.crossplane.io resources.

Fixes #79

I have:

Signed-off-by: Bob Haddleton <bob.haddleton@nokia.com>
Copy link
Copy Markdown
Member

@negz negz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've been thinking about how we might tackle creation/deletion ordering more generally in functions. I don't have a good solution yet, but that doesn't need to block this. I feel okay with this approach in this function.

Note: I'm not a maintainer on this function, and don't have any experience using it. So take this as my informed bystander opinion and not a binding approval.

Comment thread fn.go Outdated
Incorporate review feedback

Co-authored-by: Nic Cope <nicc@rk0n.org>
@bobh66 bobh66 merged commit 1c68c27 into crossplane-contrib:main Jan 17, 2026
8 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deletion Sequencing - Create Usage resources based on dependency tree

2 participants