Skip to content

Commit

Permalink
Merge pull request #55132 from caesarxuchao/webhook-move-shared-code
Browse files Browse the repository at this point in the history
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: kubernetes/enhancements#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 kubernetes/kubernetes#54892.

Kubernetes-commit: ff7934fdeea38bf6a56c61bbbe15721c4f45023e
  • Loading branch information
k8s-publish-robot committed Dec 7, 2017
2 parents 628fb79 + 00fd58f commit 7bead97
Show file tree
Hide file tree
Showing 165 changed files with 3,911 additions and 5,339 deletions.
3,152 changes: 1,580 additions & 1,572 deletions Godeps/Godeps.json

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion vendor/k8s.io/api/admission/v1alpha1/BUILD

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/k8s.io/api/admission/v1alpha1/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 0 additions & 27 deletions vendor/k8s.io/api/admission/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion vendor/k8s.io/api/admissionregistration/v1alpha1/BUILD

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/k8s.io/api/admissionregistration/v1alpha1/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7bead97

Please sign in to comment.