Image policy prevents the creation of samples-operator imagestreams after upgrading to OCP 4

Solution Verified - Updated -


  • After upgrading to 4.9.9 or higher the openshift-samples operator is degraded.
  • The openshift-samples operator reports an error:

    Samples installation in error at 4.9.9: &errors.errorString{s:"global openshift image configuration prevents the creation of imagestreams using the registry "}


  • Red Hat OpenShift Container Platform
    • 4

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