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

Merge branch 'OZG-7573-connection-from-vorgang-manager' into 'main'

OZG-7573 add grpc port to service

See merge request !11
parents 73e5dcef a4ec1a58
Branches
Tags
1 merge request!11OZG-7573 add grpc port to service
......@@ -32,6 +32,11 @@ metadata:
component: eingang-adapter-service
spec:
ports:
{{- if (.Values.forwarding).enabled }}
- name: grpc-9090
port: 9090
protocol: TCP
{{- end }}
- name: http
port: 8080
protocol: TCP
......
......@@ -49,6 +49,32 @@ tests:
- equal:
path: spec.type
value: ClusterIP
- it: should contain the grpc port in the ports list if forwarding enabled
set:
forwarding:
enabled: true
asserts:
- contains:
path: spec.ports
content:
name: grpc-9090
port: 9090
protocol: TCP
count: 1
any: true
- it: should not contain the grpc port in the ports list if forwarding disabled
set:
forwarding:
enabled: false
asserts:
- notContains:
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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment