summaryrefslogtreecommitdiffstats
path: root/install/msb-istio-gateway.yaml
blob: a7bfcac86d766484602f3f7f1fb07acbece37cfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  name: msb-iag-gateway
spec:
  selector:
    istio: ingressgateway # use istio default controller
  servers:
  - port:
      number: 80
      name: http
      protocol: HTTP
    hosts:
    - "*"
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: msb-iag
spec:
  hosts:
  - "*"
  gateways:
  - msb-iag-gateway
  http:
  - match:
    route:
    - destination:
        host: msb-iag
        port:
          number: 80