Skip to content
Snippets Groups Projects
Commit 33e8953c authored by OZGCloud's avatar OZGCloud
Browse files

OZG-5238 Set more values in helm tests

parent 7c66a196
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,6 @@ tests: ...@@ -32,7 +32,6 @@ tests:
- it: should have a volume for the mongodb certificate - it: should have a volume for the mongodb certificate
set: set:
ozgcloud: ozgcloud:
environment: test
bundesland: sh bundesland: sh
bezeichner: helm bezeichner: helm
sso: sso:
...@@ -48,7 +47,6 @@ tests: ...@@ -48,7 +47,6 @@ tests:
- it: should mount mongodb certificate volume - it: should mount mongodb certificate volume
set: set:
ozgcloud: ozgcloud:
environment: test
bundesland: sh bundesland: sh
bezeichner: helm bezeichner: helm
sso: sso:
...@@ -64,7 +62,6 @@ tests: ...@@ -64,7 +62,6 @@ tests:
- it: should configure internal mongodb if not useExternal - it: should configure internal mongodb if not useExternal
set: set:
ozgcloud: ozgcloud:
environment: test
bundesland: sh bundesland: sh
bezeichner: helm bezeichner: helm
sso: sso:
...@@ -88,7 +85,6 @@ tests: ...@@ -88,7 +85,6 @@ tests:
- it: should configure external mongodb if useExternal - it: should configure external mongodb if useExternal
set: set:
ozgcloud: ozgcloud:
environment: test
bundesland: sh bundesland: sh
bezeichner: helm bezeichner: helm
sso: sso:
......
...@@ -31,7 +31,6 @@ templates: ...@@ -31,7 +31,6 @@ templates:
set: set:
baseUrl: test.company.local baseUrl: test.company.local
ozgcloud: ozgcloud:
environment: test
bundesland: sh bundesland: sh
bezeichner: helm bezeichner: helm
sso: sso:
......
...@@ -31,7 +31,6 @@ tests: ...@@ -31,7 +31,6 @@ tests:
- it: should use default image pull secret - it: should use default image pull secret
set: set:
ozgcloud: ozgcloud:
environment: test
bundesland: sh bundesland: sh
bezeichner: helm bezeichner: helm
sso: sso:
...@@ -44,7 +43,6 @@ tests: ...@@ -44,7 +43,6 @@ tests:
- it: should use customizable image pull secret - it: should use customizable image pull secret
set: set:
ozgcloud: ozgcloud:
environment: test
bundesland: sh bundesland: sh
bezeichner: helm bezeichner: helm
sso: sso:
......
...@@ -31,7 +31,6 @@ tests: ...@@ -31,7 +31,6 @@ tests:
- it: should have customizable resources - it: should have customizable resources
set: set:
ozgcloud: ozgcloud:
environment: test
bundesland: sh bundesland: sh
bezeichner: helm bezeichner: helm
sso: sso:
......
...@@ -32,7 +32,6 @@ tests: ...@@ -32,7 +32,6 @@ tests:
- it: should override the spring profiles - it: should override the spring profiles
set: set:
ozgcloud: ozgcloud:
environment: test
bundesland: sh bundesland: sh
bezeichner: helm bezeichner: helm
sso: sso:
...@@ -49,7 +48,6 @@ tests: ...@@ -49,7 +48,6 @@ tests:
- it: should generate the spring profiles - it: should generate the spring profiles
set: set:
ozgcloud: ozgcloud:
environment: test
bundesland: sh bundesland: sh
bezeichner: helm bezeichner: helm
sso: sso:
......
...@@ -32,6 +32,12 @@ set: ...@@ -32,6 +32,12 @@ set:
ozgcloud.environment: "default" ozgcloud.environment: "default"
tests: tests:
- it: should have volumeMounts on it's container - it: should have volumeMounts on it's container
set:
ozgcloud:
bundesland: sh
bezeichner: helm
sso:
serverUrl: https://sso.company.local
asserts: asserts:
- equal: - equal:
path: spec.template.spec.containers[0].volumeMounts[0].name path: spec.template.spec.containers[0].volumeMounts[0].name
...@@ -58,6 +64,12 @@ tests: ...@@ -58,6 +64,12 @@ tests:
path: spec.template.spec.containers[0].volumeMounts[1].readOnly path: spec.template.spec.containers[0].volumeMounts[1].readOnly
value: true value: true
- it: should have volumes on it's spec - it: should have volumes on it's spec
set:
ozgcloud:
bundesland: sh
bezeichner: helm
sso:
serverUrl: https://sso.company.local
asserts: asserts:
- equal: - equal:
path: spec.template.spec.volumes[0].name path: spec.template.spec.volumes[0].name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment