Skip to content

Commit 40e4771

Browse files
prithvipatil97Prithviraj Patil
authored andcommitted
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
1 parent 7c266f7 commit 40e4771

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

modules/nw-ingress-configuring-application-domain.adoc

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,24 @@ Wait for the `openshift-apiserver` finish rolling updates before exposing the ro
6565
[source,terminal]
6666
----
6767
$ oc expose service hello-openshift
68-
route.route.openshift.io/hello-openshift exposed
6968
----
7069
+
7170
.Example output
71+
[source,terminal]
72+
----
73+
route.route.openshift.io/hello-openshift exposed
74+
----
75+
+
76+
.. Get a list of routes by running the following command:
7277
+
7378
[source,terminal]
7479
----
7580
$ oc get routes
81+
----
82+
+
83+
.Example output
84+
[source,text]
85+
----
7686
NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD
7787
hello-openshift hello_openshift-<my_project>.test.example.com
7888
hello-openshift 8080-tcp None

0 commit comments

Comments
 (0)