-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[webhooks] Support Version Distinction in Admission Control (#478)
Have the k8s.WebhookServer use GroupVersionKind when mapping validating and mutating controllers, rather than GroupKind. The methods for adding admission control already use `resource.Kind`, which is a GVK-scoped object, so just support this when storing in the relation map and lookups for handling requests.
- Loading branch information
1 parent
5fba05b
commit 5566e6f
Showing
2 changed files
with
27 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters