From a05089219e473309c376e7df7a221564c489d0e5 Mon Sep 17 00:00:00 2001 From: swastik959 Date: Sun, 10 Mar 2024 22:53:09 +0530 Subject: [PATCH 1/2] added istio resources Signed-off-by: swastik959 --- demo/istio/manifests/echo-service.yaml | 35 +++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/demo/istio/manifests/echo-service.yaml b/demo/istio/manifests/echo-service.yaml index 2ca5e730..78aa025a 100644 --- a/demo/istio/manifests/echo-service.yaml +++ b/demo/istio/manifests/echo-service.yaml @@ -41,4 +41,37 @@ spec: app: echo ports: - port: 8080 - targetPort: 8080 \ No newline at end of file + targetPort: 8080 + +--- +apiVersion: networking.istio.io/v1alpha3 +kind: VirtualService +metadata: + name: echo-virtual-service + namespace: demo +spec: + hosts: + - echo + http: + - route: + - destination: + host: echo + port: + number: 8080 + +--- +apiVersion: networking.istio.io/v1alpha3 +kind: Gateway +metadata: + name: echo-gateway + namespace: demo +spec: + selector: + istio: ingressgateway + servers: + - port: + number: 80 + name: http + protocol: HTTP + hosts: + - "*" \ No newline at end of file From a6b5743b356fd043d8ec33d0a83f9eda4e298dac Mon Sep 17 00:00:00 2001 From: swastik959 Date: Mon, 11 Mar 2024 08:32:50 +0530 Subject: [PATCH 2/2] added commit to fix ci Signed-off-by: swastik959 --- demo/istio/manifests/echo-service.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/demo/istio/manifests/echo-service.yaml b/demo/istio/manifests/echo-service.yaml index 78aa025a..62a837cc 100644 --- a/demo/istio/manifests/echo-service.yaml +++ b/demo/istio/manifests/echo-service.yaml @@ -60,6 +60,7 @@ spec: number: 8080 --- + apiVersion: networking.istio.io/v1alpha3 kind: Gateway metadata: