gluetun again

Signed-off-by: Michael Thomson <michael@michaelthomson.dev>
This commit is contained in:
2024-10-02 15:46:06 -04:00
parent 0f54f816b5
commit 2cd3882b49
3 changed files with 15 additions and 20 deletions

View File

@@ -33,20 +33,18 @@ spec:
- name: data - name: data
mountPath: /data/downloads mountPath: /data/downloads
subPath: downloads subPath: downloads
- name: wireguard - name: gluetun
image: lscr.io/linuxserver/wireguard:latest image: qmcgaw/gluetun
envFrom: envFrom:
- configMapRef: - configMapRef:
name: wireguard-config name: gluetun-config
securityContext: securityContext:
capabilities: capabilities:
add: add:
- NET_ADMIN - NET_ADMIN
volumeMounts: volumeMounts:
- name: wireguard-config-secret - name: wireguard-config-secret
mountPath: /config/wg_confs mountPath: /gluetun/wireguard
- name: wireguard-config
mountPath: /config
volumes: volumes:
- name: qbittorrent-config - name: qbittorrent-config
persistentVolumeClaim: persistentVolumeClaim:
@@ -54,9 +52,6 @@ spec:
- name: data - name: data
persistentVolumeClaim: persistentVolumeClaim:
claimName: media-data claimName: media-data
- name: wireguard-config
persistentVolumeClaim:
claimName: wireguard-config
- name: wireguard-config-secret - name: wireguard-config-secret
secret: secret:
secretName: wireguard-config-secret secretName: wireguard-config-secret

View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: gluetun-config
namespace: media
data:
VPN_SERVICE_PROVIDER: custom
VPN_TYPE: wireguard
VPN_PORT_FORWARDING: on
VPN_PORT_FORWARDING_PROVIDER: protonvpn
UPDATER_PERIOD: 24h

View File

@@ -1,11 +0,0 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: wireguard-config
namespace: media
data:
PUID: "1000"
GUID: "1000"
TZ: America/Toronto
DOCKER_MODS: linuxserver/mods:universal-package-install
INSTALL_PACKAGES: libnatpmp