fix gluetun container + coupel tests

This commit is contained in:
Stavros kois
2023-02-20 22:54:43 +02:00
parent 3f9a657a5e
commit b83f6bcdc0
3 changed files with 34 additions and 1 deletions

View File

@@ -3,9 +3,26 @@ templates:
- common.yaml
tests:
- it: default should pass
set:
workload: &workload
workload-name:
enabled: true
primary: true
type: Deployment
podSpec: {}
service: &service
service-name:
enabled: true
primary: true
ports:
main:
enabled: true
primary: true
protocol: http
port: 8080
asserts:
- hasDocuments:
count: 3
count: 2
- documentIndex: 1
isKind:
of: Service
@@ -19,6 +36,8 @@ tests:
- it: addon enabled should pass
set:
workload: *workload
service: *service
addons:
codeserver:
enabled: true

View File

@@ -7,7 +7,15 @@ The gluetun sidecar container to be inserted.
podSpec:
containers:
gluetun:
enabled: true
imageSelector: gluetunImage
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
securityContext:
runAsUser: 568
runAsGroup: 568

View File

@@ -281,6 +281,12 @@ manifestManager:
enabled: true
staging: false
# TODO: Update repo/tag
gluetunImage:
repository: tccr.io/truecharts/gluetun
tag: some_tag
pullPolicy: IfNotPresent
openvpnImage:
repository: tccr.io/truecharts/openvpn-client
tag: latest@sha256:1f83decdf614cbf48e2429921b6f0efa0e825f447f5c510b65bc90f660227688