remove gluetun, added wireguard

This commit is contained in:
2024-09-24 16:07:09 -04:00
parent 03ef71586c
commit ddffe9f0d9
3 changed files with 18 additions and 16 deletions

View File

@@ -29,18 +29,21 @@ spec:
- name: data
mountPath: /data/downloads
subPath: downloads
- name: gluetun
image: qmcgaw/gluetun
- name: wireguard
image: lscr.io/linuxserver/wireguard:latest
envFrom:
- configMapRef:
name: gluetun-config
name: wireguard-config
securityContext:
sysctls:
- name: net.ipv4.conf.all.src_valid_mark
value: "1"
capabilities:
add:
- NET_ADMIN
volumeMounts:
- name: wireguard-config-secret
mountPath: /gluetun/wireguard
mountPath: /config/wg_confs
volumes:
- name: qbittorrent-config
persistentVolumeClaim:

View File

@@ -1,10 +0,0 @@
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

View File

@@ -0,0 +1,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: wireguard-config
namespace: media
data:
PUID: "1000"
GUID: "1000"
TZ: America/Toronto