-
Notifications
You must be signed in to change notification settings - Fork 69
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
Delete temp pvc #1388
Delete temp pvc #1388
Conversation
Will cleanup dynamically provisioned dest pvc at the end of a replicationdestination sync cycle Also - restic only - spec update to delete cache pvc at the end of a replicationdestintation sync cycle Signed-off-by: Tesshu Flower <tflower@redhat.com>
Signed-off-by: Tesshu Flower <tflower@redhat.com>
- also fix name for restic enableFileDeletion parameter in docs Signed-off-by: Tesshu Flower <tflower@redhat.com>
- allow for pvc termination to take a bit Signed-off-by: Tesshu Flower <tflower@redhat.com>
/retest |
/cc @JohnStrunk |
Signed-off-by: Tesshu Flower <tflower@redhat.com>
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JohnStrunk, tesshuflower The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1388 +/- ##
=======================================
+ Coverage 67.3% 67.5% +0.1%
=======================================
Files 57 57
Lines 5834 5841 +7
=======================================
+ Hits 3931 3944 +13
+ Misses 1615 1612 -3
+ Partials 288 285 -3
|
Describe what this PR does
cleanupTempDestinationPVC
forReplicationDestinations
to allow deleting the temp/dynamically provisioned destination PVC at the end of a sync. Available for all movers (except syncthing which has no ReplicationDestination).restic
only)cleanupCachePVC
forReplicationDestinations
to allow deleting the cache PVC at the end of a sync.Is there anything that requires special attention?
cleanupTempDestinationPVC
....I left "Temp" in the name to try to indicate that if you setdestinationPVC
then this would not be cleaned up. ConsideredcleanupDynamicDestinationPVC
but seems long.Related issues:
Fixes: #1158