summaryrefslogtreecommitdiffstats
path: root/install/msb-istio-gateway.yaml
diff options
context:
space:
mode:
authorZhaoxing Meng <meng.zhaoxing1@zte.com.cn>2018-08-03 02:13:54 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-03 02:13:54 +0000
commit29857ff4528481a89e065a5518fd38790c39f33d (patch)
tree5177171158a94a19e58e43a01f3d9ebb9df46d3b /install/msb-istio-gateway.yaml
parenta5c2dd2868b8cc2ce978a9eede63494c9af6cbbd (diff)
parent7a79abe6bb6cb4b747054e08a7cb49cff27f56a2 (diff)
Merge "Install Istio with mutual TLS authentication"
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