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

[cherry-pick]Update restore controller logic for restore deletion #6770

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(尹文开) <[email protected]>
@codecov
Copy link

codecov bot commented Sep 6, 2023

Codecov Report

Merging #6770 (da6ac02) into main (8cb04d4) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main    #6770   +/-   ##
=======================================
  Coverage   60.36%   60.36%           
=======================================
  Files         242      242           
  Lines       25999    25999           
=======================================
  Hits        15694    15694           
- Misses       9199     9200    +1     
+ Partials     1106     1105    -1     
Files Changed Coverage Δ
pkg/controller/restore_controller.go 65.96% <0.00%> (ø)

@allenxu404
Copy link
Contributor

LGTM

@reasonerjt reasonerjt merged commit a6d61ec into vmware-tanzu:main Sep 6, 2023
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.

4 participants