volsync
volsync copied to clipboard
feat(restic): support for using an existing pvc as a repository
Describe what this PR does
Support for using an existing pvc as a restic repository, opens up the ability to use NFS backed volumes (and others) to store the backup repository on instead of only using s3
Is there anything that requires special attention?
Related issues:
https://github.com/backube/volsync/issues/319
2 years later.....
Continuation of https://github.com/backube/volsync/pull/321
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: onedr0p Once this PR has been reviewed and has the lgtm label, please assign johnstrunk for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
Hi @onedr0p. Thanks for your PR.
I'm waiting for a backube member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
Codecov Report
Attention: Patch coverage is 48.27586% with 15 lines in your changes missing coverage. Please review.
Project coverage is 66.2%. Comparing base (
493d997) to head (1fdf146). Report is 369 commits behind head on main.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| controllers/mover/restic/mover.go | 44.4% | 13 Missing and 2 partials :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #1427 +/- ##
=======================================
- Coverage 67.5% 66.2% -1.3%
=======================================
Files 57 57
Lines 5844 7497 +1653
=======================================
+ Hits 3947 4967 +1020
- Misses 1612 2243 +631
- Partials 285 287 +2
| Files with missing lines | Coverage Δ | |
|---|---|---|
| controllers/mover/restic/builder.go | 90.5% <100.0%> (-0.8%) |
:arrow_down: |
| controllers/mover/restic/mover.go | 79.9% <44.4%> (-2.7%) |
:arrow_down: |
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
@JohnStrunk is this what you had in mind from our discussion from awhile ago in https://github.com/backube/volsync/pull/321?
We haven't forgotten about this one... Things have been busy. We'll take a look when we get a chance.
No worries, I am actually using a kyverno policy to mutate the job to add this support in the meantime.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.
Not stale, @tesshuflower or @JohnStrunk any plans to review this soon or can you turn off the stale bot for this PR?
Let me know and I'll rebase my changes when you're ready.
Maybe there's another way you want to handle volume mounts, like brought up in https://github.com/backube/volsync/issues/1424 ? That would be better as it gives more controls to the user for the volumes.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.
I'm going to go ahead and close this issue before stalebot does. Over the last 6 months there doesn't seem to be any interests from the maintainers which is sad due to the amount of likes it's received.