diff --git a/src/test/helm/deployment_database_test.yaml b/src/test/helm/deployment_database_test.yaml index 5fc29c4b3a9aae780b44f2ad816c08f98a49489c..4ef00093af628c1c5898ed6e7f5eac35cb772ad3 100644 --- a/src/test/helm/deployment_database_test.yaml +++ b/src/test/helm/deployment_database_test.yaml @@ -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: diff --git a/src/test/helm/deployment_defaults_sso_test.yaml b/src/test/helm/deployment_defaults_sso_test.yaml index a5122dba9b07c8f0a3122b3510da7899e02b1928..016931a08e81f1b557d9e525b3b5d96c7b25800a 100644 --- a/src/test/helm/deployment_defaults_sso_test.yaml +++ b/src/test/helm/deployment_defaults_sso_test.yaml @@ -31,7 +31,6 @@ templates: set: baseUrl: test.company.local ozgcloud: - environment: test bundesland: sh bezeichner: helm sso: diff --git a/src/test/helm/deployment_image_pull_secret_test.yaml b/src/test/helm/deployment_image_pull_secret_test.yaml index eae6b2dc8e9219ac6b4898547abbf7841d5831bb..8c526a2ced15ffb6fd91ad79887243543f98abac 100644 --- a/src/test/helm/deployment_image_pull_secret_test.yaml +++ b/src/test/helm/deployment_image_pull_secret_test.yaml @@ -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: diff --git a/src/test/helm/deployment_resources_test.yaml b/src/test/helm/deployment_resources_test.yaml index 753db426fd74b58e88141ce8dba48cee80aa7767..3f18ba3af9b0b609ca52800222b2080bc7f849bc 100644 --- a/src/test/helm/deployment_resources_test.yaml +++ b/src/test/helm/deployment_resources_test.yaml @@ -31,7 +31,6 @@ tests: - it: should have customizable resources set: ozgcloud: - environment: test bundesland: sh bezeichner: helm sso: diff --git a/src/test/helm/deployment_spring_profile_test.yaml b/src/test/helm/deployment_spring_profile_test.yaml index d01bfc20b32a42ee7fae0c3481599560121b5248..3613b3bb72f10bf2e24d873743cbe8926f48e651 100644 --- a/src/test/helm/deployment_spring_profile_test.yaml +++ b/src/test/helm/deployment_spring_profile_test.yaml @@ -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: diff --git a/src/test/helm/deployment_volume_test.yaml b/src/test/helm/deployment_volume_test.yaml index 0625a237b77e1d234ed73d6669f686ad0990b97e..ef1951a46b25d7219cddf63bce5fec6be6f356f0 100644 --- a/src/test/helm/deployment_volume_test.yaml +++ b/src/test/helm/deployment_volume_test.yaml @@ -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