From: Xinhui Li Date: Tue, 5 Jan 2021 19:26:32 +0000 (-0800) Subject: Add gw config X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=e503aa0ad7fff8c74560ad98b93160bef7672d42;p=iec%2Fxconnect.git Add gw config Signed-off-by: xinhui li Change-Id: I9b24b1d15d5081f388252c447049cc23bf9f94c0 --- diff --git a/mash/eks/gateway.yaml b/mash/eks/gateway.yaml new file mode 100644 index 0000000..cc44ae0 --- /dev/null +++ b/mash/eks/gateway.yaml @@ -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