Skip to content

Commit c68a38f

Browse files
authored
Merge pull request #48174 from rh-tokeefe/OSSMDOC-397
OSSMDOC-397: Ability to skip route creation for specific Gateways
2 parents cd9c10c + ba9ef6f commit c68a38f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

modules/ossm-auto-route-enable.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@
77

88
By default, the `ServiceMeshControlPlane` resource automatically synchronizes the Gateway resources with OpenShift routes. Disabling the automatic route creation allows you more flexibility to control routes if you have a special case or prefer to control routes manually.
99

10+
[id="disabling-automatic-route-creation-specific-cases_{context}"]
11+
== Disabling automatic route creation for specific cases
12+
13+
If you want to disable the automatic management of OpenShift routes for a specific Istio Gateway, you must add the annotation `maistra.io/manageRoute: false` to the Gateway metadata definition. {SMProductName} will ignore Istio Gateways with this annotation, while keeping the automatic management of the other Istio Gateways.
14+
15+
[id="disabling-automatic-route-creation-all-cases_{context}"]
16+
== Disabling automatic route creation for all cases
17+
18+
You can disable the automatic management of OpenShift routes for all Gateways in your mesh.
19+
1020
Disable integration between Istio Gateways and OpenShift Routes by setting the `ServiceMeshControlPlane` field `gateways.openshiftRoute.enabled` to `false`. For example, see the following resource snippet.
1121

1222
[source,yaml]

0 commit comments

Comments
 (0)