Restricting image pull access to only approved sources on OCP4
Issue
- How to restrict image pull access to only approved sources (allowlist / whitelist).
- The documentation describes
allowedRegistriesForImportin theimage.config.openshift.io/clusterresource. Would this function as an allowlist / whitelist? - How can I limit the repositories allowed to be pulled from a certain registry?
Environment
- Red Hat OpenShift Container Platform (OCP) 4.2
- Red Hat OpenShift Container Platform (OCP) 4.5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.