Add gw configs 33/4033/1
authorXinhui Li <xinhui.li@salesforce.com>
Tue, 5 Jan 2021 19:19:27 +0000 (11:19 -0800)
committerXinhui Li <xinhui.li@salesforce.com>
Tue, 5 Jan 2021 19:19:27 +0000 (11:19 -0800)
Signed-off-by: xinhui li <xinhui.li@salesforce.com>
Change-Id: I6e123b09cb69f8b0247ccdc276cbb082d10572b6

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

diff --git a/mash/eks/443gw.yaml b/mash/eks/443gw.yaml
new file mode 100644 (file)
index 0000000..88913f9
--- /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: SIMPLE
+      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