From 53e12c3166abe19639083375605bfbd542d0349e Mon Sep 17 00:00:00 2001 From: Felix Reichenbach <felix.reichenbach@mgm-tp.com> Date: Mon, 24 Mar 2025 08:45:21 +0100 Subject: [PATCH] OZG-7573 add grpc port to service --- src/main/helm/templates/service.yaml | 3 +++ src/test/helm/service_test.yaml | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/src/main/helm/templates/service.yaml b/src/main/helm/templates/service.yaml index 78dc3c5b8..80b44f3d9 100644 --- a/src/main/helm/templates/service.yaml +++ b/src/main/helm/templates/service.yaml @@ -32,6 +32,9 @@ metadata: component: eingang-adapter-service spec: ports: + - name: grpc-9090 + port: 9090 + protocol: TCP - name: http port: 8080 protocol: TCP diff --git a/src/test/helm/service_test.yaml b/src/test/helm/service_test.yaml index 16119984f..0f7db44d7 100644 --- a/src/test/helm/service_test.yaml +++ b/src/test/helm/service_test.yaml @@ -49,6 +49,16 @@ tests: - equal: path: spec.type value: ClusterIP + - it: ports should contain the grpc port + asserts: + - contains: + path: spec.ports + content: + name: grpc-9090 + port: 9090 + protocol: TCP + count: 1 + any: true - it: ports should contain the 8080 default http port asserts: - contains: -- GitLab