mirror of https://github.com/k3s-io/k3s
![]() conflict. Adding unit test verify that deleteValidation is retried. adding e2e test verifying the webhook can intercept configmap and custom resource deletion, and the existing object is sent via the admissionreview.OldObject. update the admission integration test to verify that the existing object is passed to the deletion admission webhook as oldObject, in case of an immediate deletion and in case of an update-on-delete. |
||
---|---|---|
.. | ||
BASEIMAGE | ||
BUILD | ||
Dockerfile | ||
Makefile | ||
README.md | ||
VERSION | ||
addlabel.go | ||
alwaysallow.go | ||
alwaysdeny.go | ||
config.go | ||
configmap.go | ||
crd.go | ||
customresource.go | ||
main.go | ||
patch_test.go | ||
pods.go | ||
scheme.go |
README.md
Kubernetes External Admission Webhook Test Image
The image tests MutatingAdmissionWebhook and ValidatingAdmissionWebhook. After deploying it to kubernetes cluster, administrator needs to create a ValidatingWebhookConfiguration in kubernetes cluster to register remote webhook admission controllers.
TODO: add the reference when the document for admission webhook v1beta1 API is done.
Build the code
make build