Merge pull request #55132 from caesarxuchao/webhook-move-shared-code
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
Reorganize admission webhook code
ref: https://github.com/kubernetes/features/issues/492
* Moved client and kubeconfig related code to webhook/config;
* Moved the rule matcher to webhook/rules;
* Left TODOs saying we are going to move some other common utilities;
* Other code is moved to webhook/validation.
This is to prepare adding the mutating webhook. See https://github.com/kubernetes/kubernetes/pull/54892.
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment