mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 08:57:04 +02:00
feat(common): Release v2.2.0 (#223)
This commit is contained in:
parent
8b21e9f6c7
commit
8bfc33eb8a
11 changed files with 244 additions and 47 deletions
|
@ -19,7 +19,7 @@ tests:
|
|||
- documentIndex: &DeploymentDocument 0
|
||||
isKind:
|
||||
of: Deployment
|
||||
- documentIndex: &DeploymentDocument 0
|
||||
- documentIndex: *DeploymentDocument
|
||||
lengthEqual:
|
||||
path: spec.template.spec.containers
|
||||
count: 3
|
||||
|
@ -36,6 +36,7 @@ tests:
|
|||
path: spec.template.spec.containers[2].name
|
||||
value: additional2
|
||||
|
||||
# TODO: Remove this test case after "order" removal in v3
|
||||
- it: with custom order
|
||||
set:
|
||||
controllers.main.containers:
|
||||
|
@ -59,7 +60,7 @@ tests:
|
|||
- documentIndex: &DeploymentDocument 0
|
||||
isKind:
|
||||
of: Deployment
|
||||
- documentIndex: &DeploymentDocument 0
|
||||
- documentIndex: *DeploymentDocument
|
||||
lengthEqual:
|
||||
path: spec.template.spec.containers
|
||||
count: 4
|
||||
|
@ -79,3 +80,91 @@ tests:
|
|||
equal:
|
||||
path: spec.template.spec.containers[3].name
|
||||
value: additional3
|
||||
|
||||
- it: with dependsOn
|
||||
set:
|
||||
controllers.main.containers:
|
||||
additional1:
|
||||
dependsOn: additional3
|
||||
image:
|
||||
repository: test
|
||||
tag: test
|
||||
additional2:
|
||||
dependsOn: additional3
|
||||
image:
|
||||
repository: test
|
||||
tag: test
|
||||
additional3:
|
||||
dependsOn: main
|
||||
image:
|
||||
repository: test
|
||||
tag: test
|
||||
asserts:
|
||||
- documentIndex: &DeploymentDocument 0
|
||||
isKind:
|
||||
of: Deployment
|
||||
- documentIndex: *DeploymentDocument
|
||||
lengthEqual:
|
||||
path: spec.template.spec.containers
|
||||
count: 4
|
||||
- documentIndex: *DeploymentDocument
|
||||
equal:
|
||||
path: spec.template.spec.containers[0].name
|
||||
value: main
|
||||
- documentIndex: *DeploymentDocument
|
||||
equal:
|
||||
path: spec.template.spec.containers[1].name
|
||||
value: additional3
|
||||
- documentIndex: *DeploymentDocument
|
||||
equal:
|
||||
path: spec.template.spec.containers[2].name
|
||||
value: additional1
|
||||
- documentIndex: *DeploymentDocument
|
||||
equal:
|
||||
path: spec.template.spec.containers[3].name
|
||||
value: additional2
|
||||
|
||||
# TODO: Remove this test case after "order" removal in v3
|
||||
- it: with both order and dependsOn
|
||||
set:
|
||||
controllers.main.containers:
|
||||
additional1:
|
||||
dependsOn: additional3
|
||||
image:
|
||||
repository: test
|
||||
tag: test
|
||||
additional2:
|
||||
dependsOn: additional3
|
||||
order: 1
|
||||
image:
|
||||
repository: test
|
||||
tag: test
|
||||
additional3:
|
||||
dependsOn: main
|
||||
image:
|
||||
repository: test
|
||||
tag: test
|
||||
asserts:
|
||||
- documentIndex: &DeploymentDocument 0
|
||||
isKind:
|
||||
of: Deployment
|
||||
- documentIndex: *DeploymentDocument
|
||||
lengthEqual:
|
||||
path: spec.template.spec.containers
|
||||
count: 4
|
||||
- documentIndex: *DeploymentDocument
|
||||
equal:
|
||||
path: spec.template.spec.containers[0].name
|
||||
value: main
|
||||
- documentIndex: *DeploymentDocument
|
||||
equal:
|
||||
path: spec.template.spec.containers[1].name
|
||||
value: additional3
|
||||
- documentIndex: *DeploymentDocument
|
||||
equal:
|
||||
path: spec.template.spec.containers[2].name
|
||||
value: additional1
|
||||
- documentIndex: *DeploymentDocument
|
||||
equal:
|
||||
path: spec.template.spec.containers[3].name
|
||||
value: additional2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue