Cannot solve Labs - Whitelist Allowed Registries - ImagePolicyWebhook in CKS

I cannot solve “Labs - Whitelist Allowed Registries - ImagePolicyWebhook” in CKS Course because image-bouncer-webhook Pod is not running.

This is the event.

Events:
  Type     Reason       Age                 From               Message
  ----     ------       ----                ----               -------
  Normal   Scheduled    11m                 default-scheduler  Successfully assigned default/image-bouncer-webhook-74c8dc457f-8fm59 to controlplane
  Warning  FailedMount  70s (x13 over 11m)  kubelet            MountVolume.SetUp failed for volume "tls" : secret "tls-image-bouncer-webhook" not found

Please try the lab again. We’ve made some fixes of CKS related labs in the last few days that prevented containers from loading. These have been fixed, except for a few labs that use trivy. I’ve worked through this lab, and today it appears to be working fine.

I tried again, but I faced the same error. Could you deploy a secret “tls-image-bouncer-webhook”?

This appears to be an intermittent error; I see your problem today – I did not see it previously. I’ve reopened an issue in our tracking system related to this.

Hi @mgnk,

Thanks for highlighting this. The lab team has fixed the problem. Please try and share the feedback.

Regards,

I successfully deploy the Pod. Thank you for fixing the issue!