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

Reduce CRD size. #5174

Merged
merged 1 commit into from
Aug 5, 2022
Merged

Conversation

blackpiglet
Copy link
Contributor

  1. Make the Restore hook.InitConatianer server side field pruing disable.
  2. Remove restore patch in update-generate-crd-code.sh.
  3. Modify related testcases.
  4. Add Container fields validation in Restore Init hook.

Signed-off-by: Xun Jiang [email protected]

Thank you for contributing to Velero!

Please add a summary of your change

Does your change fix a particular issue?

Fixes #4916

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. Make the Restore hook.InitConatianer server side field pruing disable.
2. Remove restore patch in update-generate-crd-code.sh.
3. Modify related testcases.
4. Add Container fields validation in Restore Init hook.

Signed-off-by: Xun Jiang <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Aug 2, 2022

Codecov Report

Merging #5174 (e8da5df) into main (108c81d) will decrease coverage by 0.00%.
The diff coverage is 52.72%.

@@            Coverage Diff             @@
##             main    #5174      +/-   ##
==========================================
- Coverage   41.25%   41.25%   -0.01%     
==========================================
  Files         212      212              
  Lines       18663    18703      +40     
==========================================
+ Hits         7700     7715      +15     
- Misses      10389    10410      +21     
- Partials      574      578       +4     
Impacted Files Coverage Δ
pkg/builder/container_builder.go 33.78% <0.00%> (-4.10%) ⬇️
pkg/controller/restore_controller.go 65.07% <9.09%> (-1.44%) ⬇️
internal/hook/item_hook_handler.go 87.92% <77.77%> (-1.48%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us.

@blackpiglet blackpiglet merged commit cea5e7f into vmware-tanzu:main Aug 5, 2022
@blackpiglet blackpiglet deleted the reduce-crd-size-new branch October 15, 2022 04:01
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.

Reduce Restore CRD's size
4 participants