mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-05 09:06:22 -03:00
fix gluetun container addition and netshoot test
This commit is contained in:
@@ -28,7 +28,7 @@ tests:
|
||||
enabled: true
|
||||
asserts:
|
||||
- hasDocuments:
|
||||
count: 3
|
||||
count: 2
|
||||
- documentIndex: &DeploymentDocument 0
|
||||
isKind:
|
||||
of: Deployment
|
||||
@@ -42,11 +42,11 @@ tests:
|
||||
- documentIndex: *DeploymentDocument
|
||||
equal:
|
||||
path: spec.template.spec.containers[0].name
|
||||
value: release-name-common-test-netshoot
|
||||
value: release-name-common-test
|
||||
- documentIndex: *DeploymentDocument
|
||||
equal:
|
||||
path: spec.template.spec.containers[1].name
|
||||
value: release-name-common-test
|
||||
value: release-name-common-test-netshoot
|
||||
- documentIndex: *ServiceDocument
|
||||
equal:
|
||||
path: metadata.name
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/*
|
||||
The gluetun sidecar container to be inserted.
|
||||
*/}}
|
||||
{{- define "tc.v1.common.addon.vpn.gluetun.containers" -}}
|
||||
{{- define "tc.v1.common.addon.vpn.gluetun.container" -}}
|
||||
enabled: true
|
||||
imageSelector: gluetunImage
|
||||
probes:
|
||||
|
||||
Reference in New Issue
Block a user