Skip to content

Commit a6318e3

Browse files
committed
QDOCS-1062: edits, fix attributes
Signed-off-by: shjones <[email protected]>
1 parent 7ecdfe7 commit a6318e3

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

docs/src/main/asciidoc/deploying-to-openshift-S2I-howto.adoc

+11-12
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@ With S2I, you must provide the source code to the build container through a Git
2020
[IMPORTANT]
2121
====
2222
S2I is not supported for native deployments.
23+
For deploying {project-name} applications compiled to native executables, use the Docker build strategy.
2324
====
24-
//For deploying {project-name} applications compiled to native executables, use the xref:proc_deploying-quarkus-applications-compiled-to-native-executables_quarkus-openshift[Docker build strategy].
2525

2626
The procedure for deploying your Quarkus applications to {openshift} by using S2I differs depending on the Java version you are using.
2727

2828
[[using-the-S2I-Java-17]]
29-
== Using S2I to deploy Quarkus applications to {openshift} with Java 17
29+
== Using S2I to deploy Quarkus applications to {openshift} with Java {JDK-version-other}
3030

3131
You can deploy your {project-name} applications running on Java 17 to {openshift} by using the Source-to-Image (S2I) method.
3232

3333

3434
=== Prerequisites
35-
* You have a Quarkus application built with Java 17.
35+
36+
* You have a Quarkus application built with Java {JDK-ver-other}.
3637
* Optional: You have a Quarkus Maven project that includes the `quarkus-openshift` extension.
37-
* You are working in the correct {openshift} project namespace, as outlined in
38-
//link:{URL_OPENSHIFT_QUARKUS}#proc_verifying-the-openshift-project-namespace_quarkus-openshift[Switching to the required {RHOSSHORT} project].
38+
* You are working in the correct OpenShift project namespace
3939
* Your Quarkus Maven project is hosted in a Git repository.
4040

4141

@@ -49,7 +49,7 @@ You can deploy your {project-name} applications running on Java 17 to {openshift
4949
<maven.compiler.target>17</maven.compiler.target>
5050
----
5151
+
52-
. To package your Java 17 application, enter the following command:
52+
. To package your Java {JDK-ver-other} application, enter the following command:
5353
+
5454
[source]
5555
----
@@ -176,7 +176,7 @@ AB_JOLOKIA_OFF=true
176176
JAVA_APP_JAR=/deployments/quarkus-run.jar
177177
----
178178
. Commit and push your changes to the remote Git repository.
179-
. To import the supported {RHOSSHORT} image, enter the following command:
179+
. To import the supported {openshift} image, enter the following command:
180180
+
181181
[source,subs="attributes+,+quotes"]
182182
+
@@ -189,9 +189,8 @@ oc import-image {name-image-ubi8-open-jdk-21-short} --from={name-image-ubi8-open
189189
* If you are using the OpenShift image registry and pulling from image streams in the same project, your pod service account should already have the correct permissions.
190190
191191
192-
* If you are pulling images across other OpenShift Container Platform projects or from secured registries, additional configuration steps might be required.
193-
For more information, see link:https://docs.openshift.com/container-platform/{RHOSVersion}/openshift_images/managing_images/using-image-pull-secrets.html[Using image pull secrets] in {CompanyName} OpenShift Container Platform documentation.
194-
192+
* If you are pulling images across other {openshift} projects or from secured registries, additional configuration steps might be required.
193+
For more information, refer to link:https://docs.openshift.com/container-platform.html[OpenShift Container Platform] documentation.
195194
196195
* If you are deploying on IBM Z infrastructure, enter `oc import-image {name-image-ubi8-open-jdk-21-short} --from=registry.redhat.io/{name-image-ubi8-open-jdk-21-short} --confirm` instead.
197196
For information about this image, see link:https://catalog.redhat.com/software/containers/ubi8/openjdk-21/653fb7e21b2ec10f7dfc10d0[{runtimes-openjdk-long} 21].
@@ -207,7 +206,7 @@ oc new-app registry.access.redhat.com/ubi8/openjdk-21~<git_path> --name=<project
207206
Where:
208207

209208

210-
* <git_path> is the path to the Git repository that hosts your {ProductName} project.
209+
* <git_path> is the path to the Git repository that hosts your project.
211210
For example, `oc new-app registry.access.redhat.com/ubi8/openjdk-21~https://github.com/johndoe/code-with-quarkus.git --name=code-with-quarkus`.
212211
+
213212
If you do not have SSH keys configured for the Git repository, when specifying the Git path, use the HTTPS URL instead of the SSH URL.
@@ -230,7 +229,7 @@ oc start-build <project_name>
230229
----
231230

232231

233-
. To expose a route to the {ProductName} application, enter the following command:
232+
. To expose a route to the Quarkus application, enter the following command:
234233
+
235234
[source,shell,subs="attributes+,+quotes"]
236235
----

0 commit comments

Comments
 (0)