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

Update restore controller logic for restore deletion #6761

Merged
merged 1 commit into from Sep 6, 2023

Conversation

ywk253100
Copy link
Contributor

  1. Skip deleting the restore files from storage if the backup/BSL is not found
  2. Allow deleting the restore files from storage even though the BSL is readonly

Thank you for contributing to Velero!

Please add a summary of your change

Does your change fix a particular issue?

Fixes #(issue)

Please indicate you've done the following:

  • Accepted the DCO. Commits without the DCO will delay acceptance.
  • Created a changelog file or added /kind changelog-not-required as a comment on this pull request.
  • Updated the corresponding documentation in site/content/docs/main.

1. Skip deleting the restore files from storage if the backup/BSL is not found
2. Allow deleting the restore files from storage even though the BSL is readonly

Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
@codecov
Copy link

codecov bot commented Sep 5, 2023

Codecov Report

Merging #6761 (e4c9594) into release-1.12 (6790a18) will not change coverage.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##           release-1.12    #6761   +/-   ##
=============================================
  Coverage         60.38%   60.38%           
=============================================
  Files               242      242           
  Lines             25981    25981           
=============================================
  Hits              15689    15689           
- Misses             9189     9190    +1     
+ Partials           1103     1102    -1     
Files Changed Coverage Δ
pkg/controller/restore_controller.go 65.96% <0.00%> (ø)

@allenxu404
Copy link
Contributor

LGTM

@ywk253100 ywk253100 merged commit fc653bd into vmware-tanzu:release-1.12 Sep 6, 2023
23 of 24 checks passed
sseago pushed a commit to openshift/velero that referenced this pull request May 23, 2024
1. Skip deleting the restore files from storage if the backup/BSL is not found
2. Allow deleting the restore files from storage even though the BSL is readonly

Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants