From 40e477100c42b654fd2355d87fdb270a812806da Mon Sep 17 00:00:00 2001 From: Prithviraj Patil <116709298+prithvipatil97@users.noreply.github.com> Date: Sat, 12 Jul 2025 02:37:04 +0530 Subject: [PATCH] Update nw-ingress-configuring-application-domain.adoc Wrong structure of command needs to be corrected Here is the documentation link: https://docs.redhat.com/en/documentation/openshift_container_platform/4.16/html/networking/networking-operators#nw-ingress-configuring-application-domain_configuring-ingress Here is the current look: Expose the route: $ oc expose service hello-openshift route.route.openshift.io/hello-openshift exposed The above command is not structured properly. We can use the above command as well, and it will execute perfectly. But its structure is not as per our standard procedure. Hence, it needs to be changed. Here is the updated look: Expose the route: $ oc expose service hello-openshift route.route.openshift.io/hello-openshift exposed [new-commit]Update nw-ingress-configuring-application-domain.adoc [new-commit]Update nw-ingress-configuring-application-domain.adoc [new-change]Update nw-ingress-configuring-application-domain.adoc [new-change]Update nw-ingress-configuring-application-domain.adoc --- .../nw-ingress-configuring-application-domain.adoc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/modules/nw-ingress-configuring-application-domain.adoc b/modules/nw-ingress-configuring-application-domain.adoc index ad16e225e2ac..61adbf543842 100644 --- a/modules/nw-ingress-configuring-application-domain.adoc +++ b/modules/nw-ingress-configuring-application-domain.adoc @@ -65,14 +65,24 @@ Wait for the `openshift-apiserver` finish rolling updates before exposing the ro [source,terminal] ---- $ oc expose service hello-openshift -route.route.openshift.io/hello-openshift exposed ---- + .Example output +[source,terminal] +---- +route.route.openshift.io/hello-openshift exposed +---- ++ +.. Get a list of routes by running the following command: + [source,terminal] ---- $ oc get routes +---- ++ +.Example output +[source,text] +---- NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD hello-openshift hello_openshift-.test.example.com hello-openshift 8080-tcp None