This commit is contained in:
Ariel Sosnovsky committed 2023-04-17 16:45:06 -04:00
1 parent 62a4f7cb83
commit 38609ebfcf
2 files changed
+4 -6

No files matched your search

@@ -1,6 +1,5 @@
{{ define "homelab.nordvpn "}}
{{ define "homelab.nordvpn" }}
- name: vpn
image: ghcr.io/bubuntux/nordvpn
stdin: true
tty: true
securityContext:
@@ -9,9 +8,6 @@
add:
- NET_ADMIN
- NET_RAW
env:
- name: TZ
value: "{{ .Values.global.timezone }}"
volumeMounts:
- name: vpn-config
mountPath: /vpn/client.ovpn
@@ -23,6 +19,8 @@
mountPath: /tmp/route
image: ghcr.io/bubuntux/nordvpn
env:
- name: TZ
value: "{{ .Values.global.timezone }}"
- name: TOKEN
valueFrom:
secretKeyRef:
@@ -105,7 +105,7 @@ spec:
mountPath: /config
- name: torrents
mountPath: /torrents
{{- include "homelab.nordvpn" . | nindent 8 }}
{{- include "homelab.nordvpn" $ | nindent 8 }}
volumes:
- name: torrents
nfs: