Skip to content
Snippets Groups Projects
Commit e600489a authored by Lukas Malte Monnerjahn's avatar Lukas Malte Monnerjahn
Browse files

OZG-4880 osiv2_auth_secrect test default

parent 249f3bd2
No related branches found
No related tags found
1 merge request!24OZG-4880 Helm Env Values für OSI-Postfach 2.0
......@@ -31,12 +31,13 @@ templates:
set:
ozgcloud:
osiv2:
enabled: true
auth:
clientid: "client-id"
clientsecret: "client-secret"
tests:
- it: test metadata
set:
ozgcloud.osiv2.enabled: true
asserts:
- isKind:
of: Secret
......@@ -49,11 +50,15 @@ tests:
path: metadata.namespace
value: sh-helm-test
- it: test secret type
set:
ozgcloud.osiv2.enabled: true
asserts:
- equal:
path: type
value: Opaque
- it: should have stringData
set:
ozgcloud.osiv2.enabled: true
asserts:
- equal:
path: stringData.client-id
......@@ -62,11 +67,6 @@ tests:
path: stringData.client-secret
value: "client-secret"
- it: should not create osiv2 auth secret by default
set:
ozgcloud:
osiv2:
enabled: false
auth: null
asserts:
- hasDocuments:
count: 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment