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
Branches
Tags
No related merge requests found
......@@ -32,7 +32,6 @@ tests:
- it: should have a volume for the mongodb certificate
set:
ozgcloud:
environment: test
bundesland: sh
bezeichner: helm
sso:
......@@ -48,7 +47,6 @@ tests:
- it: should mount mongodb certificate volume
set:
ozgcloud:
environment: test
bundesland: sh
bezeichner: helm
sso:
......@@ -64,7 +62,6 @@ tests:
- it: should configure internal mongodb if not useExternal
set:
ozgcloud:
environment: test
bundesland: sh
bezeichner: helm
sso:
......@@ -88,7 +85,6 @@ tests:
- it: should configure external mongodb if useExternal
set:
ozgcloud:
environment: test
bundesland: sh
bezeichner: helm
sso:
......
......@@ -31,7 +31,6 @@ templates:
set:
baseUrl: test.company.local
ozgcloud:
environment: test
bundesland: sh
bezeichner: helm
sso:
......
......@@ -31,7 +31,6 @@ tests:
- it: should use default image pull secret
set:
ozgcloud:
environment: test
bundesland: sh
bezeichner: helm
sso:
......@@ -44,7 +43,6 @@ tests:
- it: should use customizable image pull secret
set:
ozgcloud:
environment: test
bundesland: sh
bezeichner: helm
sso:
......
......@@ -31,7 +31,6 @@ tests:
- it: should have customizable resources
set:
ozgcloud:
environment: test
bundesland: sh
bezeichner: helm
sso:
......
......@@ -32,7 +32,6 @@ tests:
- it: should override the spring profiles
set:
ozgcloud:
environment: test
bundesland: sh
bezeichner: helm
sso:
......@@ -49,7 +48,6 @@ tests:
- it: should generate the spring profiles
set:
ozgcloud:
environment: test
bundesland: sh
bezeichner: helm
sso:
......
......@@ -28,10 +28,16 @@ release:
templates:
- templates/deployment.yaml
set:
Release.Name: "administration"
ozgcloud.environment: "default"
Release.Name: "administration"
ozgcloud.environment: "default"
tests:
- it: should have volumeMounts on it's container
set:
ozgcloud:
bundesland: sh
bezeichner: helm
sso:
serverUrl: https://sso.company.local
asserts:
- equal:
path: spec.template.spec.containers[0].volumeMounts[0].name
......@@ -58,6 +64,12 @@ tests:
path: spec.template.spec.containers[0].volumeMounts[1].readOnly
value: true
- it: should have volumes on it's spec
set:
ozgcloud:
bundesland: sh
bezeichner: helm
sso:
serverUrl: https://sso.company.local
asserts:
- equal:
path: spec.template.spec.volumes[0].name
......@@ -73,4 +85,4 @@ tests:
value: "ozg-mongodb-tls-cert"
- equal:
path: spec.template.spec.volumes[1].secret.optional
value: true
\ No newline at end of file
value: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment