k3s/test/images/webhook
Chao Xu 7bb4a3bace Run deleteValidation at the storage layer so that it will be retried on
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.
2019-05-17 09:54:11 -07:00
..
BASEIMAGE
BUILD generated 2019-02-26 15:00:35 -08:00
Dockerfile
Makefile
README.md
VERSION Run deleteValidation at the storage layer so that it will be retried on 2019-05-17 09:54:11 -07:00
addlabel.go Move from glog to klog 2018-11-10 07:50:31 -05:00
alwaysallow.go build and push e2e test image 2019-02-26 14:44:03 -08:00
alwaysdeny.go Move from glog to klog 2018-11-10 07:50:31 -05:00
config.go Move from glog to klog 2018-11-10 07:50:31 -05:00
configmap.go Run deleteValidation at the storage layer so that it will be retried on 2019-05-17 09:54:11 -07:00
crd.go Move from glog to klog 2018-11-10 07:50:31 -05:00
customresource.go Run deleteValidation at the storage layer so that it will be retried on 2019-05-17 09:54:11 -07:00
main.go build and push e2e test image 2019-02-26 14:44:03 -08:00
patch_test.go
pods.go Move from glog to klog 2018-11-10 07:50:31 -05:00
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