From d3a127e8d9421eb53e2c14635c716a2fb3b9a8a8 Mon Sep 17 00:00:00 2001 From: "Nayak, Neha Maruti" Date: Sun, 3 May 2020 14:34:30 -0400 Subject: [PATCH] #210 --- isitoFiles/istioGateway.yml | 50 ++++++++++++++++++++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/isitoFiles/istioGateway.yml b/isitoFiles/istioGateway.yml index 3895dbb2..42a62dcb 100644 --- a/isitoFiles/istioGateway.yml +++ b/isitoFiles/istioGateway.yml @@ -27,4 +27,52 @@ spec: - destination: port: number: 3002 - host: frontend-service.default.svc.cluster.local \ No newline at end of file + host: frontend-service.default.svc.cluster.local +--- +apiVersion: networking.istio.io/v1alpha3 +kind: Gateway +metadata: + name: orenda-egressgateway +spec: + selector: + istio: egressgateway + servers: + - port: + number: 80 + name: http + protocol: HTTP + hosts: + - "*" +--- +apiVersion: networking.istio.io/v1alpha3 +kind: ServiceEntry +metadata: + name: Orenda-ServiceEntry +spec: + hosts: + - "*" + ports: + - number: 80 + name: http-port + protocol: HTTP + - number: 443 + name: https + protocol: HTTPS + resolution: DNS +--- +apiVersion: networking.istio.io/v1alpha3 +kind: VirtualService +metadata: + name: orenda-egress +spec: + hosts: + - "*" + gateways: + - orenda-egressgateway + http: + - match: + - route: + - destination: + host: "*" + port: + number: 80