-
Notifications
You must be signed in to change notification settings - Fork 39.7k
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
split admissionregistration.v1beta1/Webhook into MutatingWebhook and ValidatingWebhook #78491
Conversation
f8176b7
to
78767d6
Compare
7d21e7f
to
f20dacf
Compare
staging/src/k8s.io/apiserver/pkg/admission/configuration/validating_webhook_manager.go
Outdated
Show resolved
Hide resolved
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go
Outdated
Show resolved
Hide resolved
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors.go
Outdated
Show resolved
Hide resolved
/test pull-kubernetes-integration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks really good, just a few nits. go ahead and squash down to generated/non-generated commits
fwiw, I also tested this with #78309 and json/proto/yaml serialization/deserialization/round-tripping had no complaints against 1.14.0 and master data
staging/src/k8s.io/apiserver/pkg/admission/configuration/validating_webhook_manager.go
Outdated
Show resolved
Hide resolved
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors.go
Outdated
Show resolved
Hide resolved
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors.go
Outdated
Show resolved
Hide resolved
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/util/client_config.go
Outdated
Show resolved
Hide resolved
…hook and ValidatingWebhook
f325812
to
625e9a6
Compare
Done. I'll keep an eye on CI. |
…ValidatingWebhook
/lgtm |
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jpbetz, liggitt The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
Well done! |
/hold code-freeze queue management :) |
/cc @jennybuckley |
merged in #78505 /close |
@liggitt: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Per discussions in the mutating admission plugin reinvocation design (kubernetes/enhancements#1049) we need to split these types before introducing the ReinvocationPolicy field.