Add new m gw config 34/4034/1
authorXinhui Li <xinhui.li@salesforce.com>
Tue, 5 Jan 2021 19:20:22 +0000 (11:20 -0800)
committerXinhui Li <xinhui.li@salesforce.com>
Tue, 5 Jan 2021 19:20:22 +0000 (11:20 -0800)
Signed-off-by: xinhui li <xinhui.li@salesforce.com>
Change-Id: Ib3f909a18c44dcc9e069a93a408f4c7052e52264

mash/eks/443m.yaml [new file with mode: 0644]

diff --git a/mash/eks/443m.yaml b/mash/eks/443m.yaml
new file mode 100644 (file)
index 0000000..416ebea
--- /dev/null
@@ -0,0 +1,40 @@
+apiVersion: networking.istio.io/v1alpha3
+kind: Gateway
+metadata:
+  name: mygateway2
+spec:
+  selector:
+    istio: ingressgateway # use istio default ingress gateway
+  servers:
+  - port:
+      number: 443
+      name: https
+      protocol: HTTPS
+    tls:
+      mode: MUTUAL
+      credentialName: httpbin-credential # must be the same as secret
+    hosts:
+    - "acb7ca2ca2f3a498c822f3786553a075-7fb58ba389cbc75b.elb.us-west-2.amazonaws.com"
+---
+apiVersion: networking.istio.io/v1alpha3
+kind: VirtualService
+metadata:
+  name: httpbin
+spec:
+  hosts:
+  - "acb7ca2ca2f3a498c822f3786553a075-7fb58ba389cbc75b.elb.us-west-2.amazonaws.com"
+  gateways:
+  - mygateway2
+  http:
+  - match:
+    - uri:
+        prefix: /status
+    - uri:
+        prefix: /delay
+    - uri:
+        prefix: /headers
+    route:
+    - destination:
+        port:
+          number: 8000
+        host: httpbin