diff --git a/src/main/helm/templates/service.yaml b/src/main/helm/templates/service.yaml index 78dc3c5b829499baefca93b05a687ef8ae9e505c..80b44f3d921f4e5c5e6bd11ecfccc298715cb0c8 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 16119984faba0163af487fd9d4f6296c38c79a44..0f7db44d7721bd78b3770b89a6e12f8813585ace 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: