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