mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-05 01:06:22 -03:00
try fix codeserver addon test
This commit is contained in:
@@ -28,11 +28,8 @@ tests:
|
||||
enabled: true
|
||||
asserts:
|
||||
- hasDocuments:
|
||||
count: 4
|
||||
- documentIndex: &CodeServerDeploymentDocument 0
|
||||
isKind:
|
||||
of: Deployment
|
||||
- documentIndex: &DeploymentDocument 1
|
||||
count: 3
|
||||
- documentIndex: &DeploymentDocument 0
|
||||
isKind:
|
||||
of: Deployment
|
||||
- documentIndex: &AddonServiceDocument 2
|
||||
@@ -47,8 +44,12 @@ tests:
|
||||
value: release-name-common-test
|
||||
- documentIndex: *CodeServerDeploymentDocument
|
||||
equal:
|
||||
path: metadata.name
|
||||
path: spec.template.spec.containers[0].name
|
||||
value: release-name-common-test-codeserver
|
||||
- documentIndex: *CodeServerDeploymentDocument
|
||||
equal:
|
||||
path: spec.template.spec.containers[1].name
|
||||
value: release-name-common-test
|
||||
- documentIndex: *ServiceDocument
|
||||
equal:
|
||||
path: metadata.name
|
||||
|
||||
Reference in New Issue
Block a user