From b63cbdec50cf8c67bd86f1cf8689b87012516968 Mon Sep 17 00:00:00 2001 From: Sergey Beryozkin Date: Wed, 14 Jun 2023 15:30:42 +0100 Subject: [PATCH 1/2] Fix endpoint address in the OpenShift guide --- docs/src/main/asciidoc/deploying-to-openshift.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/deploying-to-openshift.adoc b/docs/src/main/asciidoc/deploying-to-openshift.adoc index 97283afc18cea..af1a97eeb08d9 100644 --- a/docs/src/main/asciidoc/deploying-to-openshift.adoc +++ b/docs/src/main/asciidoc/deploying-to-openshift.adoc @@ -159,7 +159,7 @@ oc new-app --name=greeting /openshift-quickstart:1.0.0-SNAPSHOT <2> oc get svc oc expose svc/greeting <3> oc get routes <4> -curl http:///greeting <5> +curl http:///hello <5> ---- <1> Lists the image streams created. The image stream of our application should be tagged as /openshift-quickstart:1.0.0-SNAPSHOT. <2> Create a new application from the image source. From b26048427259ddeb7d061ed878b1a648658a1dc6 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Wed, 14 Jun 2023 16:37:23 +0200 Subject: [PATCH 2/2] Minor adjustments to deploying-to-openshift.adoc --- docs/src/main/asciidoc/deploying-to-openshift.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/main/asciidoc/deploying-to-openshift.adoc b/docs/src/main/asciidoc/deploying-to-openshift.adoc index af1a97eeb08d9..57cd554a455e2 100644 --- a/docs/src/main/asciidoc/deploying-to-openshift.adoc +++ b/docs/src/main/asciidoc/deploying-to-openshift.adoc @@ -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:///greeting <3> +curl http:///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. @@ -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`. @@ -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: