Revert "gluetun again"

This reverts commit 2cd3882b49.
This commit is contained in:
2024-10-02 16:11:35 -04:00
parent 2cd3882b49
commit b86dec624f
3 changed files with 20 additions and 15 deletions

View File

@@ -33,18 +33,20 @@ 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:
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
- name: wireguard-config
mountPath: /config
volumes: volumes:
- name: qbittorrent-config - name: qbittorrent-config
persistentVolumeClaim: persistentVolumeClaim:
@@ -52,6 +54,9 @@ 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

@@ -1,11 +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
UPDATER_PERIOD: 24h

View File

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