Add gw config 40/4040/1 master
authorXinhui Li <xinhui.li@salesforce.com>
Tue, 5 Jan 2021 19:26:32 +0000 (11:26 -0800)
committerXinhui Li <xinhui.li@salesforce.com>
Tue, 5 Jan 2021 19:26:32 +0000 (11:26 -0800)
Signed-off-by: xinhui li <xinhui.li@salesforce.com>
Change-Id: I9b24b1d15d5081f388252c447049cc23bf9f94c0

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

diff --git a/mash/eks/gateway.yaml b/mash/eks/gateway.yaml
new file mode 100644 (file)
index 0000000..cc44ae0
--- /dev/null
@@ -0,0 +1,33 @@
+apiVersion: networking.istio.io/v1alpha3
+kind: Gateway
+metadata:
+  name: httpbin-gateway
+spec:
+  selector:
+    istio: ingressgateway # use Istio default gateway implementation
+  servers:
+  - port:
+      number: 443
+      name: https
+      protocol: HTTPS
+    hosts:
+    - "*"
+---
+apiVersion: networking.istio.io/v1alpha3
+kind: VirtualService
+metadata:
+  name: httpbin
+spec:
+  hosts:
+  - "*"
+  gateways:
+  - httpbin-gateway
+  http:
+  - match:
+    - uri:
+        prefix: /headers
+    route:
+    - destination:
+        port:
+          number: 8443
+        host: httpbin