Hello, I’ve been trying to solve the question about the admission controller lab and I get the check being false at : Reconfigure the API server to enable the ImagePolicyWebhook admission plugin and ensure it can access the configuration files.
I have modified the kube-apiserver definition file to add the admission control config file command, modified the enable admission plugin line to add imagepolicywebhook, added a volume and mounted it at /etc/kubernetes/imgvalidation as it should.
But the check gives me:
ImagePolicyWebhook admission plugin enabled on kube-apiserver? ok
admission-control-config-file flag set on kube-apiserver? ok
imgvalidation volume mounted in kube-apiserver? NOTOK
I don’t understand since the describe of the kube-apiserver shows that an imgvalidation volumes is mounted.
Is there an issue with what I’m doing?



