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

OZG-7909 add grpc port in service

parent cc9248d2
No related branches found
No related tags found
1 merge request!20Ozg 7909 persist server data
...@@ -33,6 +33,9 @@ metadata: ...@@ -33,6 +33,9 @@ metadata:
spec: spec:
type: ClusterIP type: ClusterIP
ports: ports:
- name: grpc-9090
port: 9090
protocol: TCP
- name: metrics - name: metrics
port: 8081 port: 8081
protocol: TCP protocol: TCP
......
...@@ -44,7 +44,17 @@ tests: ...@@ -44,7 +44,17 @@ tests:
path: spec.type path: spec.type
value: ClusterIP value: ClusterIP
- it: has metrics port - it: should have grpc port
asserts:
- contains:
path: spec.ports
content:
name: grpc-9090
port: 9090
protocol: TCP
count: 1
any: true
- it: should have metrics port
asserts: asserts:
- contains: - contains:
path: spec.ports path: spec.ports
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment