Skip to content

Commit 8c80d32

Browse files
authored
Merge pull request #36466 from abrennan89/SRVKS-772
SRVKS-772: Add disableRoute note
2 parents 98fe815 + 52fc59d commit 8c80d32

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

modules/serverless-openshift-routes.adoc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ You must modify the replaceable values in the example commands for the following
2020
.Procedure
2121

2222
. Create a Knative service that includes the `serving.knative.openshift.io/disableRoute=true` annotation:
23-
.. Optional. Create a Knative service resource:
23+
+
24+
[IMPORTANT]
25+
====
26+
The `serving.knative.openshift.io/disableRoute=true` annotation instructs {ServerlessProductName} to not automatically create a route for you. However, the service still shows a URL and reaches a status of `Ready`. This URL does not work externally until you create your own route with the same hostname as the hostname in the URL.
27+
====
28+
.. Create a Knative `Service` resource:
2429
+
2530
.Example resource
2631
[source,yaml]
@@ -30,12 +35,13 @@ kind: Service
3035
metadata:
3136
name: <service_name>
3237
annotations:
33-
serving.knative.openshift.io/disableRoute: true
38+
serving.knative.openshift.io/disableRoute: "true"
3439
spec:
3540
template:
3641
spec:
3742
containers:
3843
- image: <image>
44+
...
3945
----
4046
.. Apply the `Service` resource:
4147
+

0 commit comments

Comments
 (0)