From 5121ced506e6db50199efeca26b40598a34ded2d Mon Sep 17 00:00:00 2001 From: Tharsanan1 Date: Mon, 2 Oct 2023 17:21:11 +0530 Subject: [PATCH] Remove admin port from gateway service --- .../gateway-runtime/gateway-service.yaml | 3 --- test/cucumber-tests/CRs/artifacts.yaml | 21 +++++++++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/helm-charts/templates/data-plane/gateway-components/gateway-runtime/gateway-service.yaml b/helm-charts/templates/data-plane/gateway-components/gateway-runtime/gateway-service.yaml index 9f218497a..dbf27dd56 100644 --- a/helm-charts/templates/data-plane/gateway-components/gateway-runtime/gateway-service.yaml +++ b/helm-charts/templates/data-plane/gateway-components/gateway-runtime/gateway-service.yaml @@ -33,7 +33,4 @@ spec: - name: endpoint1 protocol: TCP port: 9095 - - name: endpoint3 - protocol: TCP - port: 9000 {{- end -}} diff --git a/test/cucumber-tests/CRs/artifacts.yaml b/test/cucumber-tests/CRs/artifacts.yaml index 5d2f8b1a9..a6d401c52 100644 --- a/test/cucumber-tests/CRs/artifacts.yaml +++ b/test/cucumber-tests/CRs/artifacts.yaml @@ -577,3 +577,24 @@ spec: group: gateway.networking.k8s.io kind: Gateway name: default +--- +# We have removed the Envoy admin interface port from our helm gateway service yaml. So we need this one here. +apiVersion: v1 +kind: Service +metadata: + name: apk-test-setup-wso2-apk-gateway-service + namespace : apk-integration-test + +spec: + type: LoadBalancer + # label keys and values that must match in order to receive traffic for this service + selector: + app.kubernetes.io/app: gateway + app.kubernetes.io/release: apk-test-setup + ports: + - name: endpoint1 + protocol: TCP + port: 9095 + - name: endpoint3 + protocol: TCP + port: 9000