When importing image throws error "Forbidden: importing images from registry" in OCP 3.10

Solution Verified - Updated -

Issue

  • We are able to import images directly using oc import however the image stream function not working and we getting this error
$ oc import-image registry.fqdn.com:8443/igniteplatform/jupyter-notebook:stable --confirm
The ImageStreamImport "jupyter-notebook" is invalid: spec.images[0].from.name: Forbidden: importing images from registry "registry.fqdn.com:8443" is forbidden: registry "registry.fqdn.com:8443" not allowed by whitelist: "docker-registry.default.svc:5000", [...], "registry.access.redhat.com:443" 
  • How to add an image stream source and whitelist it?

Environment

  • Red Hat OpenShift Container Platform 3.10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content