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,24 +29,27 @@ spec:
- name: data - name: data
mountPath: /data/downloads mountPath: /data/downloads
subPath: downloads subPath: downloads
- name: gluetun - name: wireguard
image: qmcgaw/gluetun image: lscr.io/linuxserver/wireguard:latest
envFrom: envFrom:
- configMapRef: - configMapRef:
name: gluetun-config name: wireguard-config
securityContext: securityContext:
sysctls:
- name: net.ipv4.conf.all.src_valid_mark
value: "1"
capabilities: capabilities:
add: add:
- NET_ADMIN - NET_ADMIN
volumeMounts: volumeMounts:
- name: wireguard-config-secret - name: wireguard-config-secret
mountPath: /gluetun/wireguard mountPath: /config/wg_confs
volumes: volumes:
- name: qbittorrent-config - name: qbittorrent-config
persistentVolumeClaim: persistentVolumeClaim:
claimName: qbittorrent-config claimName: qbittorrent-config
- name: data - name: data
persistentVolumeClaim: persistentVolumeClaim:
claimName: media-data claimName: media-data
- name: wireguard-config-secret - name: wireguard-config-secret
secret: secret:

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