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: gracedelete webhook compatible in the absence of ServiceReadyReadinessGate #152

Merged
merged 3 commits into from
Feb 5, 2024
Merged

fix: gracedelete webhook compatible in the absence of ServiceReadyReadinessGate #152

merged 3 commits into from
Feb 5, 2024

Conversation

cyh-ant
Copy link
Contributor

@cyh-ant cyh-ant commented Feb 4, 2024

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

  • N

2. What is the scope of this PR (e.g. component or file name):

pkg/webhook/server/generic/pod/gracedelete

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

  • Affects user behaviors
  • Contains experimental features

Limit the effective scope of gracedelete webhook, considering the pod without service-ready ReadinessGate.

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

  • N

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

  • Unit test

6. Release note

None

Copy link

codecov bot commented Feb 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f2fabbb) 63.74% compared to head (24386d7) 63.81%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #152      +/-   ##
==========================================
+ Coverage   63.74%   63.81%   +0.06%     
==========================================
  Files          72       72              
  Lines        4708     4717       +9     
==========================================
+ Hits         3001     3010       +9     
  Misses       1424     1424              
  Partials      283      283              
Flag Coverage Δ
unittests 63.81% <100.00%> (+0.06%) ⬆️

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.

Copy link
Collaborator

@wu8685 wu8685 left a comment

Choose a reason for hiding this comment

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

lgtm

@wu8685 wu8685 merged commit 4e14416 into KusionStack:main Feb 5, 2024
7 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

提供灰度流量的能力
2 participants