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

Remove redundant admission webhook operation rule #2054

Merged

Conversation

TrafalgarZZZ
Copy link
Member

Signed-off-by: dongyun.xzh dongyun.xzh@alibaba-inc.com

Ⅰ. Describe what this PR does

Remove redundant admission webhook operation rule. According to #2053, pod update will failed when fluid webhook injection is enabled.

This is because fluid webhook will be called when any pod update request is issued. For some of the webhook plugins(e.g. PreferNodesWithoutCache), they attempt to mutate some immutable information in the pod, causing validation failure.

Ⅱ. Does this pull request fix one issue?

fixes #2053

Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

Signed-off-by: dongyun.xzh <dongyun.xzh@alibaba-inc.com>
@codecov
Copy link

codecov bot commented Aug 10, 2022

Codecov Report

Merging #2054 (d2d5a43) into master (079143a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2054   +/-   ##
=======================================
  Coverage   53.40%   53.40%           
=======================================
  Files         291      291           
  Lines       20997    20997           
=======================================
  Hits        11214    11214           
  Misses       8562     8562           
  Partials     1221     1221           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@cheyang cheyang merged commit 088b9c9 into fluid-cloudnative:master Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Pod update failed with fluid webhook injection enabled
2 participants