summaryrefslogtreecommitdiffstats
path: root/install/msb-istio-gateway.yaml
diff options
context:
space:
mode:
authorHuabing Zhao <zhaohuabing@gmail.com>2018-08-02 10:45:26 +0000
committerHuabing Zhao <zhaohuabing@gmail.com>2018-08-02 11:17:40 +0000
commit7a79abe6bb6cb4b747054e08a7cb49cff27f56a2 (patch)
tree969756aa8881b7c4394df93b281b096a1992f815 /install/msb-istio-gateway.yaml
parente54b48bc552ffbc3f80bdd707795f29d6cb0a4bf (diff)
Install Istio with mutual TLS authentication
Issue-ID: MSB-252 Change-Id: Iba45598d2fb03085d50d766f8c1e977df16f9a32 Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
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