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-1.15] Add SecurityContext to restore-helper #8495

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

reasonerjt
Copy link
Contributor

This commit adds SecurityContext that complies with "restricted" level per Pod Security Standards to "restore-helper" initContainer. It ensures the restore won't fail when the cluster enforces PSA.

Thank you for contributing to Velero!

Fixes #8229

Please indicate you've done the following:

ywk253100
ywk253100 previously approved these changes Dec 9, 2024
Lyndon-Li
Lyndon-Li previously approved these changes Dec 9, 2024
@reasonerjt reasonerjt dismissed stale reviews from Lyndon-Li and ywk253100 via aad2647 December 9, 2024 05:50
This commit adds SecurityContext that complies with "restricted" level
per Pod Security Standards to "restore-helper" initContainer.
It ensures the restore won't fail when the cluster enforces PSA.

Signed-off-by: Daniel Jiang <[email protected]>
Copy link

codecov bot commented Dec 9, 2024

Codecov Report

Attention: Patch coverage is 72.72727% with 6 lines in your changes missing coverage. Please review.

Project coverage is 58.99%. Comparing base (3476530) to head (666a0ee).
Report is 2 commits behind head on release-1.15.

Files with missing lines Patch % Lines
pkg/restore/actions/pod_volume_restore_action.go 72.72% 5 Missing and 1 partial ⚠️
Additional details and impacted files
@@               Coverage Diff                @@
##           release-1.15    #8495      +/-   ##
================================================
+ Coverage         58.98%   58.99%   +0.01%     
================================================
  Files               367      367              
  Lines             38855    38873      +18     
================================================
+ Hits              22919    22934      +15     
- Misses            14474    14477       +3     
  Partials           1462     1462              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@reasonerjt reasonerjt merged commit 7d2110e into vmware-tanzu:release-1.15 Dec 9, 2024
45 checks passed
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.

3 participants