To run entitled builds, you must create an ImageStream to reference the
universal base image (UBI).
Prerequisites
-
You must create a pull secret for registry.redhat.io, and link it to a user project.
Procedure
-
To create an
imagestreamtagin a single project:$ oc tag --source=docker registry.redhat.io/ubi7/ubi:latest ubi:latest
-
To create an
imagestreamtagin the {product-title} namespace, making it available to developers in all projects:$ oc tag --source=docker registry.redhat.io/ubi7/ubi:latest ubi:latest -n openshift