Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions modules/ossm-auto-route-enable.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@

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.

[id="disabling-automatic-route-creation-specific-cases_{context}"]
== Disabling automatic route creation for specific cases

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.

[id="disabling-automatic-route-creation-all-cases_{context}"]
== Disabling automatic route creation for all cases

You can disable the automatic management of OpenShift routes for all Gateways in your mesh.

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.

[source,yaml]
Expand Down