Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eingang-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OZG-Cloud
app
eingang-manager
Commits
e3c60df5
Commit
e3c60df5
authored
1 month ago
by
Felix Reichenbach
Browse files
Options
Downloads
Plain Diff
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
Branches containing commit
Tags
Tags containing commit
1 merge request
!11
OZG-7573 add grpc port to service
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/helm/templates/service.yaml
+5
-0
5 additions, 0 deletions
src/main/helm/templates/service.yaml
src/test/helm/service_test.yaml
+26
-0
26 additions, 0 deletions
src/test/helm/service_test.yaml
with
31 additions
and
0 deletions
src/main/helm/templates/service.yaml
+
5
−
0
View file @
e3c60df5
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/test/helm/service_test.yaml
+
26
−
0
View file @
e3c60df5
...
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment