Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finalizers and OwnerRefs for PackageRevision #3655

Merged
merged 1 commit into from
Nov 15, 2022

Conversation

mortent
Copy link
Contributor

@mortent mortent commented Nov 11, 2022

This adds support for Finalizers and OwnerReferences for the PackageRevision type. It does this by reusing these fields from the internal PackageRev type to the PackageRevision type from the aggregated APIServer.

There are a few caveats to finalizers for PackageRevisions. Since these can be removed out-of-band from the APIServer, either by deletion of the Repository from Porch or removal of the PackageRevision directly from git/oci. In these cases, there isn't any way for us to honor the finalizers, so the resource will be deleted directly.

Copy link
Contributor

@natasha41575 natasha41575 left a comment

Choose a reason for hiding this comment

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

lgtm!

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.

None yet

2 participants