mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-05 17:17:42 +02:00
More paving the way
This commit is contained in:
parent
33f207c563
commit
4863146ad9
62 changed files with 2761 additions and 13 deletions
|
@ -0,0 +1,38 @@
|
|||
suite: addon netshoot
|
||||
templates:
|
||||
- common.yaml
|
||||
tests:
|
||||
- it: default should pass
|
||||
asserts:
|
||||
- hasDocuments:
|
||||
count: 2
|
||||
- documentIndex: &DeploymentDocument 0
|
||||
isKind:
|
||||
of: Deployment
|
||||
- documentIndex: 1
|
||||
isKind:
|
||||
of: Service
|
||||
- documentIndex: *DeploymentDocument
|
||||
not: true
|
||||
equal:
|
||||
path: spec.template.spec.containers[0].name
|
||||
value: netshoot
|
||||
|
||||
- it: addon enabled should pass
|
||||
set:
|
||||
addons:
|
||||
netshoot:
|
||||
enabled: true
|
||||
asserts:
|
||||
- hasDocuments:
|
||||
count: 2
|
||||
- documentIndex: &DeploymentDocument 0
|
||||
isKind:
|
||||
of: Deployment
|
||||
- documentIndex: 1
|
||||
isKind:
|
||||
of: Service
|
||||
- documentIndex: *DeploymentDocument
|
||||
equal:
|
||||
path: spec.template.spec.containers[1].name
|
||||
value: netshoot
|
Loading…
Add table
Add a link
Reference in a new issue