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
94127622
Commit
94127622
authored
1 year ago
by
OZGCloud
Browse files
Options
Downloads
Plain Diff
Merge pull request 'optional-ingress-class-name' (#77) from optional-ingress-class-name into master
Reviewed-on:
https://git.ozg-sh.de/mgm/intelliform-adapter/pulls/77
parents
50aa1a62
80e9c18e
Branches
Branches containing commit
Tags
Tags containing commit
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/helm/templates/ingress.yaml
+2
-2
2 additions, 2 deletions
src/main/helm/templates/ingress.yaml
src/test/helm/ingress-nginx-tests.yaml
+14
-9
14 additions, 9 deletions
src/test/helm/ingress-nginx-tests.yaml
with
16 additions
and
11 deletions
src/main/helm/templates/ingress.yaml
+
2
−
2
View file @
94127622
...
...
@@ -36,8 +36,8 @@ metadata:
name
:
{{
include "app.name" .
}}
namespace
:
{{
include "app.namespace" .
}}
spec
:
{{
- if ne (.Values).cluster_env "dataport"
}}
ingressClassName
:
nginx
{{
- if
and (.Values.ingress).className (
ne (.Values).cluster_env "dataport"
)
}}
ingressClassName
:
{{
.Values.ingress.className
}}
{{
- end
}}
rules
:
-
http
:
...
...
This diff is collapsed.
Click to expand it.
src/test/helm/ingress-nginx-tests.yaml
+
14
−
9
View file @
94127622
...
...
@@ -26,25 +26,19 @@ suite: test ingress options
templates
:
-
templates/ingress.yaml
tests
:
-
it
:
should create afm ingress tls
/ingressClass
-
it
:
should create afm ingress tls
release
:
name
:
afm-adapter
asserts
:
-
equal
:
path
:
spec.ingressClassName
value
:
nginx
-
equal
:
path
:
spec.tls[0].secretName
value
:
helm-afm-adapter-tls
-
it
:
should create afm ingress tls
/ingressClass
-
it
:
should create afm ingress tls
release
:
name
:
fs-adapter
set
:
image.name
:
formsolutions-adapter
asserts
:
-
equal
:
path
:
spec.ingressClassName
value
:
nginx
-
equal
:
path
:
spec.tls[0].secretName
value
:
helm-fs-adapter-tls
...
...
@@ -69,4 +63,15 @@ tests:
-
isNull
:
path
:
spec.ingressClassName
-
isNull
:
path
:
spec.tls[0].secretName
\ No newline at end of file
path
:
spec.tls[0].secretName
-
it
:
should not set ingressClassName
asserts
:
-
isNull
:
path
:
spec.ingressClassName
-
it
:
should set ingressClassName
set
:
ingress.className
:
nginx
asserts
:
-
equal
:
path
:
spec.ingressClassName
value
:
nginx
\ No newline at end of file
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