From 374748db650c83d3727ea4fae24162aaddb570a0 Mon Sep 17 00:00:00 2001 From: Xinhui Li Date: Tue, 5 Jan 2021 11:20:22 -0800 Subject: [PATCH] Add new m gw config Signed-off-by: xinhui li Change-Id: Ib3f909a18c44dcc9e069a93a408f4c7052e52264 --- mash/eks/443m.yaml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 mash/eks/443m.yaml diff --git a/mash/eks/443m.yaml b/mash/eks/443m.yaml new file mode 100644 index 0000000..416ebea --- /dev/null +++ b/mash/eks/443m.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: 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 -- 2.16.6