Skip to content
Snippets Groups Projects
Commit 53e12c31 authored by Felix Reichenbach's avatar Felix Reichenbach
Browse files

OZG-7573 add grpc port to service

parent 73e5dcef
No related branches found
No related tags found
1 merge request!11OZG-7573 add grpc port to service
...@@ -32,6 +32,9 @@ metadata: ...@@ -32,6 +32,9 @@ metadata:
component: eingang-adapter-service component: eingang-adapter-service
spec: spec:
ports: ports:
- name: grpc-9090
port: 9090
protocol: TCP
- name: http - name: http
port: 8080 port: 8080
protocol: TCP protocol: TCP
......
...@@ -49,6 +49,16 @@ tests: ...@@ -49,6 +49,16 @@ tests:
- equal: - equal:
path: spec.type path: spec.type
value: ClusterIP 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 - it: ports should contain the 8080 default http port
asserts: asserts:
- contains: - contains:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment