Skip to content

Commit 824c15e

Browse files
committed
Bug 1806755 - Clarify entitled builds doc on advantages of UBI image stream
1 parent a27231b commit 824c15e

File tree

2 files changed

+8
-19
lines changed

2 files changed

+8
-19
lines changed

builds/running-entitled-builds.adoc

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,8 @@ include::modules/builds-create-imagestreamtag.adoc[leveloffset=+1]
1010

1111
include::modules/builds-source-secrets-entitlements.adoc[leveloffset=+1]
1212

13-
There are two paths to pulling in the base RHEL image:
14-
15-
* Add the pull secret to registry.redhat.io to your project.
16-
* Create an image stream in the `openshift` namespace for the RHEL-based
17-
image. This makes the image stream available across the cluster.
18-
1913
== Running builds with Subscription Manager
2014

21-
include::modules/builds-source-input-subman-config.adoc[leveloffset=+2]
22-
2315
include::modules/builds-strategy-docker-entitled-subman.adoc[leveloffset=+2]
2416

2517
== Running builds with Satellite subscriptions

modules/builds-create-imagestreamtag.adoc

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,26 @@
33
//* builds/running-entitled-builds.adoc
44

55
[id="builds-create-imagestreamtag_{context}"]
6-
= Creating an image stream tag to the Red Hat Universal Base Image
6+
= Creating an image stream tag for the Red Hat Universal Base Image
77

8-
To use Red Hat subscriptions within a build, you should create an image stream to reference the universal base image (UBI).
8+
To use Red Hat subscriptions within a build, you create an image stream tag to reference the Universal Base Image (UBI).
99

10-
Builds that reference the UBI directly from registry.redhat.io require a pull secret.
10+
To make the UBI available *in every project* in the cluster, you add the image stream tag to the `openshift` namespace. Otherwise, to make it available *in a specific project*, you add the image stream tag to that project.
1111

12-
.Prerequisites
13-
14-
* You must create a pull secret for registry.redhat.io, and link it to a user
15-
project.
12+
The benefit of using image stream tags this way is that doing so grants access to the UBI based on the `registry.redhat.io` credentials in the install pull secret without exposing the pull secret to other users. This is more convenient than requiring each developer to install pull secrets with `registry.redhat.io` credentials in each project.
1613

1714
.Procedure
1815

19-
* To create an `imagestreamtag` in a single project:
16+
* To create an `ImageStreamTag` in the `openshift` namespace, so it is available to developers in all projects, enter:
2017
+
2118
[source,terminal]
2219
----
23-
$ oc tag --source=docker registry.redhat.io/ubi7/ubi:latest ubi:latest
20+
$ oc tag --source=docker registry.redhat.io/ubi7/ubi:latest ubi:latest -n openshift
2421
----
2522

26-
* To create an `imagestreamtag` in the {product-title} namespace, making it available to developers in all projects:
23+
* To create an `ImageStreamTag` in a single project, enter:
2724
+
2825
[source,terminal]
2926
----
30-
$ oc tag --source=docker registry.redhat.io/ubi7/ubi:latest ubi:latest -n openshift
27+
$ oc tag --source=docker registry.redhat.io/ubi7/ubi:latest ubi:latest
3128
----

0 commit comments

Comments
 (0)