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

fix a bug about workloadspread webhook validation on patches #1740

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AiRanthem
Copy link
Contributor

Ⅰ. Describe what this PR does

patches volume claim templates into pods before ValidatePodSpec in workloadspread patch validation

Ⅱ. Does this pull request fix one issue?

fixes #1738

Ⅲ. Describe how to verify it

  1. create a CloneSet with volume claim template
  2. create a workloadspread references it

Ⅳ. Special notes for reviews

Copy link

codecov bot commented Sep 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.28%. Comparing base (0d0031a) to head (bd34afe).
Report is 84 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1740      +/-   ##
==========================================
+ Coverage   47.91%   49.28%   +1.36%     
==========================================
  Files         162      191      +29     
  Lines       23491    19583    -3908     
==========================================
- Hits        11256     9651    -1605     
+ Misses      11014     8679    -2335     
- Partials     1221     1253      +32     
Flag Coverage Δ
unittests 49.28% <100.00%> (+1.36%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@AiRanthem AiRanthem force-pushed the bug/workload-spread-patch-check-240912 branch 2 times, most recently from f6172f7 to 79172d8 Compare September 12, 2024 11:04
…rkloadspread patch validation

Signed-off-by: AiRanthem <[email protected]>
@AiRanthem AiRanthem force-pushed the bug/workload-spread-patch-check-240912 branch from 79172d8 to bd34afe Compare September 13, 2024 03:59
Copy link
Member

@furykerry furykerry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants