summaryrefslogtreecommitdiffstats
path: root/install/msb-istio-gateway.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'install/msb-istio-gateway.yaml')
-rw-r--r--install/msb-istio-gateway.yaml31
1 files changed, 31 insertions, 0 deletions
diff --git a/install/msb-istio-gateway.yaml b/install/msb-istio-gateway.yaml
new file mode 100644
index 0000000..a7bfcac
--- /dev/null
+++ b/install/msb-istio-gateway.yaml
@@ -0,0 +1,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