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

Associate VolumeSnapshots with SnapshotSchedules via OwnerReferences #697

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

salmon111
Copy link

Describe what this PR does
This PR addresses #359 by adding OwnerReferences to VolumeSnapshot objects created by SnapshotSchedule.
This ensures that VolumeSnapshots are automatically tracked and cleaned up when their parent SnapshotSchedule is deleted.
The addition improves resource management and simplifies dependency handling.

Is there anything that requires special attention?
This feature can be enabled by setting enableOwnerReferences to true in values.yaml.
The default behavior remains unchanged even after the update.

Related issues:

Signed-off-by: salmon111 <kumachans@kumachans.net>
Signed-off-by: salmon111 <kumachans@kumachans.net>
@salmon111 salmon111 force-pushed the feat/ownerReferences branch from bf1657e to 3513f2e Compare January 9, 2025 06:14
@salmon111
Copy link
Author

Hi @JohnStrunk,
Would you mind taking a look at this PR when you have some time?
Let me know if there's anything you'd like me to address or clarify. Thanks!

@JohnStrunk
Copy link
Member

Thank you for taking the initiative to put something together.
I do plan to take a look. I'm a bit backed up w/ other items atm. I'm hoping to get to it this week.

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.

2 participants