fixed envs
This commit is contained in:
1 parent
8cd064d549
commit
7813fe1917
3 files changed
+16
-9
No files matched your search
@@ -0,0 +1,6 @@
|
||||
{{ define "envs" }}
|
||||
{{- range $key, $val := . }}
|
||||
- name: {{ $key }}
|
||||
value: {{ $val | quote }}
|
||||
{{ end -}}
|
||||
{{ end }}
|
||||
@@ -27,7 +27,7 @@ spec:
|
||||
containers:
|
||||
- name: main
|
||||
env:
|
||||
{{ $.Values.transmission.env | toYaml | nindent 25 }}
|
||||
{{ include "envs" $.Values.transmission.env | nindent 25 }}
|
||||
image: "{{ $.Values.transmission.image }}"
|
||||
imagePullPolicy: Always
|
||||
resources:
|
||||
@@ -35,7 +35,7 @@ spec:
|
||||
initContainers:
|
||||
- name: vpn
|
||||
env:
|
||||
{{ $.Values.gluetun.env | toYaml | nindent 25 }}
|
||||
{{ include "envs" $.Values.gluetun.env | nindent 25 }}
|
||||
envFrom:
|
||||
{{ $.Values.gluetun.envFrom | toYaml | nindent 25 }}
|
||||
image: {{ $.Values.gluetun.image }}
|
||||
|
||||
@@ -2,19 +2,20 @@
|
||||
transmission:
|
||||
image: linuxserver/transmission
|
||||
env:
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: PGID
|
||||
value: "100"
|
||||
- name: TZ
|
||||
value: Etc/UTC
|
||||
PUID: "1000"
|
||||
PGID: "100"
|
||||
TZ: Etc/UTC
|
||||
volumes: []
|
||||
resources: {}
|
||||
|
||||
gluetun:
|
||||
image: qmcgaw/gluetun:v3
|
||||
resources: {}
|
||||
env: []
|
||||
env:
|
||||
HEALTH_VPN_DURATION_INITIAL: 120s
|
||||
BLOCK_MALICIOUS: "off"
|
||||
DNS_KEEP_NAMESERVER: "on"
|
||||
FIREWALL_OUTBOUND_SUBNETS: 10.42.0.0/15
|
||||
envFrom: []
|
||||
|
||||
busybox:
|
||||
|
||||
Reference in new issue
Block a user