If attackers get access to the cluster, they can re-point kubernetes to a compromized container repository. This control is intended to ensure that all the container images are taken from the authorized repositories only.
- CronJob
- DaemonSet
- Deployment
- Job
- Pod
- ReplicaSet
- StatefulSet
This Policy checks that all the containers in the resource are using images from the imageRepositoryAllowList. If not, the resource is denied from being deployed in the cluster.