apiVersion: maistra.io/v2
kind: ServiceMeshControlPlane
spec:
  gateways:
    openshiftRoute:
      enabled: false
apiVersion: maistra.io/v2
kind: ServiceMeshControlPlane
spec:
  gateways:
    openshiftRoute:
      enabled: false
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
 
 
kind: Route
apiVersion: route.openshift.io/v1
metadata:
  name: example-gateway
  namespace: istio-system 
spec:
  host: www.example.com
  to:
    kind: Service
    name: istio-ingressgateway 
    weight: 100
  port:
    targetPort: http2
  wildcardPolicy: None
kind: Route
apiVersion: route.openshift.io/v1
metadata:
  name: example-gateway
  namespace: istio-system 
1
spec:
  host: www.example.com
  to:
    kind: Service
    name: istio-ingressgateway 
2
    weight: 100
  port:
    targetPort: http2
  wildcardPolicy: None
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow