Skip to content
Snippets Groups Projects
Commit fa8f90ab authored by Felix Reichenbach's avatar Felix Reichenbach
Browse files

OZG-7037 split up helm tests

parent f7838522
No related branches found
No related tags found
1 merge request!2Ozg 7037 configure xta client
......@@ -29,7 +29,7 @@ release:
name: xta-adapter
namespace: helm-test
tests:
- it: should create keystore with values
- it: should create keystore secret
set:
ozgcloud:
xta:
......@@ -40,23 +40,68 @@ tests:
asserts:
- isKind:
of: Secret
- it: should set api version
set:
ozgcloud:
xta:
keystore:
password: geheim
type: pkcs12
file: Z2VoZWltCg==
asserts:
- isAPIVersion:
of: v1
- it: should set value type
set:
ozgcloud:
xta:
keystore:
password: geheim
type: pkcs12
file: Z2VoZWltCg==
asserts:
- equal:
path: type
value: Opaque
- it: should set metadate values
set:
ozgcloud:
xta:
keystore:
password: geheim
type: pkcs12
file: Z2VoZWltCg==
asserts:
- equal:
path: metadata.name
value: xta-keystore
- equal:
path: metadata.namespace
value: helm-test
- it: should set springData values
set:
ozgcloud:
xta:
keystore:
password: geheim
type: pkcs12
file: Z2VoZWltCg==
asserts:
- equal:
path: stringData.password
value: geheim
- equal:
path: stringData.type
value: pkcs12
- it: should set value for data.file
set:
ozgcloud:
xta:
keystore:
password: geheim
type: pkcs12
file: Z2VoZWltCg==
asserts:
- equal:
path: data.file
value: Z2VoZWltCg==
......
......@@ -29,7 +29,7 @@ release:
name: xta-adapter
namespace: helm-test
tests:
- it: should create truststore with values
- it: should create truststore secret
set:
ozgcloud:
xta:
......@@ -40,23 +40,68 @@ tests:
asserts:
- isKind:
of: Secret
- it: should set api version
set:
ozgcloud:
xta:
truststore:
password: geheim
type: JKS
file: Z2VoZWltCg==
asserts:
- isAPIVersion:
of: v1
- it: should set value for type
set:
ozgcloud:
xta:
truststore:
password: geheim
type: JKS
file: Z2VoZWltCg==
asserts:
- equal:
path: type
value: Opaque
- it: should set values for metadata
set:
ozgcloud:
xta:
truststore:
password: geheim
type: JKS
file: Z2VoZWltCg==
asserts:
- equal:
path: metadata.name
value: xta-truststore
- equal:
path: metadata.namespace
value: helm-test
- it: should set stringData values
set:
ozgcloud:
xta:
truststore:
password: geheim
type: JKS
file: Z2VoZWltCg==
asserts:
- equal:
path: stringData.password
value: geheim
- equal:
path: stringData.type
value: JKS
- it: should set value data.file
set:
ozgcloud:
xta:
truststore:
password: geheim
type: JKS
file: Z2VoZWltCg==
asserts:
- equal:
path: data.file
value: Z2VoZWltCg==
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment