Skip to content

Commit fc7258d

Browse files
committed
jlink README: remove references to namespaces, prereq + ubi9 images
Signed-off-by: Jonathan Dowland <[email protected]>
1 parent 230f94d commit fc7258d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

templates/jlink/jlink-builder/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ Try it out:
77
You need:
88

99
1. Access to an OpenShift instance, such as crc
10+
2. UBI9 OpenJDK ImageStreams. You can load them from this repository with
11+
12+
oc create -f templates/ubi9-community-image-streams.json
1013

1114
Steps to produce the imagestream and image:
1215

13-
1. Switch to the openshift project and install the template
16+
1. install the template
1417

15-
oc project openshift
1618
oc create -f templates/jlink/jlink-builder/jlink-builder-template.yaml
1719

1820
This will create a Template called jlink-builder-template, you should see
@@ -34,7 +36,7 @@ The template for now defines a single parameter, JDK_VERSION. Setting this will
3436

3537
In order to set the JDK version, you will need to use the -p flag of oc process. To process the template and create the imagestreams, simply run
3638

37-
oc process -n openshift jlink-builder-template -p JDK_VERSION=11 | oc create -f -
39+
oc process jlink-builder-template -p JDK_VERSION=11 | oc create -f -
3840

3941
imagestream.image.openshift.io/ubi9-openjdk-11-jlink created
4042
buildconfig.build.openshift.io/jlink-builder-jdk-11 created

0 commit comments

Comments
 (0)