Skip to content

Commit

Permalink
Merge pull request #34041 from sberyozkin/openshift-quickstart-doc-mi…
Browse files Browse the repository at this point in the history
…nor-fix

Fix endpoint address in the OpenShift guide
  • Loading branch information
gastaldi authored Jun 14, 2023
2 parents 2203ec4 + b260484 commit 489372f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/src/main/asciidoc/deploying-to-openshift.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,14 @@ So unless you've used the `quarkus.openshift.route.expose` config property to ex
----
oc expose svc/greeting <1>
oc get routes <2>
curl http://<route>/greeting <3>
curl http://<route>/hello <3>
----
<1> Expose the service.
<2> Get the list of exposed routes.
<3> Access your application.

[[control_application_config]]
=== Configure the OpenShift Application Manually
=== Configure the OpenShift Application Manually

If you need more control over the deployment configuration you can build the container image first and then configure the OpenShift application manually.

Expand All @@ -147,7 +147,7 @@ During the build you may find the `Caused by: javax.net.ssl.SSLHandshakeExceptio
quarkus.kubernetes-client.trust-certs=true
----
For more information, see link:https://quarkus.io/guides/deploying-to-kubernetes#client-connection-configuration[deploying to kubernetes].
For more information, see link:https://quarkus.io/guides/deploying-to-kubernetes#client-connection-configuration[deploying to Kubernetes].
====

Once the build is done we can create a new application from the relevant `ImageStream`.
Expand All @@ -159,7 +159,7 @@ oc new-app --name=greeting <project>/openshift-quickstart:1.0.0-SNAPSHOT <2>
oc get svc
oc expose svc/greeting <3>
oc get routes <4>
curl http://<route>/greeting <5>
curl http://<route>/hello <5>
----
<1> Lists the image streams created. The image stream of our application should be tagged as <project>/openshift-quickstart:1.0.0-SNAPSHOT.
<2> Create a new application from the image source.
Expand All @@ -177,7 +177,7 @@ Out of the box the OpenShift extension is configured to use xref:container-image
- xref:container-image.adoc#docker[container-image-docker]
- xref:container-image.adoc#jib[container-image-jib]

When a non-s2i container image extension is used, an `ImageStream` is created that is pointing to an external `dockerImageRepository`. The image is built and pushed to the registry and the `ImageStream` populates the tags that are available in the `dockerImageRepository`.
When a non-s2i container image extension is used, an `ImageStream` is created that is pointing to an external `dockerImageRepository`. The image is built and pushed to the registry and the `ImageStream` populates the tags that are available in the `dockerImageRepository`.

To select which extension will be used for building the image:

Expand Down

0 comments on commit 489372f

Please sign in to comment.