Pradeep:
Can you guys provide me an answer to this or how to approach this?
ImagePolicyWebhook which validates image policy as per the below conditions:
- Deny image from untrusted registries. For this lab we will trust <http://docker.io|docker.io> repo and reject images from everywhere else.
- Deny images with latest tag and ensure all images have tags.
Vijin Palazhi:
Hi Pradeep. This is from the lab for the imagepolicywebhook isn’t it? There are solutions for each tasks right next to the question.
Pradeep:
I want to use my brain too much for this task
Pradeep:
Do I have to deploy everything in this link https://github.com/kainlite/kube-image-bouncer
Vijin Palazhi:
the webhook “server” can be created as a deployment ( as mentioned in one of the task).
The take away for this lecture lab is the ValidatingWebhookConfiguration object you need to create which uses the webhook server (Check q6 solution)
Pradeep:
ok, got you Thanks