Skip to content

sysdiglabs/image-scanning-admission-controller

Repository files navigation

Prerequiste

Deploy Image Scan Admission Webhook

run make deploy

Clean Image Scan Admission Webhook from Cluster

run make clean

Test

run make test

Limitation

There is a 30 seconds timeout for the webhook validation, it will be limited for the image scanner to return scanning result for a new image. This is because the image scanner need to download the image, unfold the image, and then conduct scanning. There is also a request to the upstream to make the webhook timeout configurable. So if there is new image to deploy for the first time, the admission controller will deny the request if no result returns in 30 seconds. However, due to complexity of the deployment workflow, the environment variable REJECT_IF_TIMEOUT in the YAML file is used to tune the admission controller timeout behavior.

About

Kubernetes admission controller that validate image in deployment is vulnerability free

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published