mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 13:09:53 +00:00
remove gluetun, added wireguard
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
9
media/qbittorrent/wireguard-config.yaml
Normal file
9
media/qbittorrent/wireguard-config.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: wireguard-config
|
||||
namespace: media
|
||||
data:
|
||||
PUID: "1000"
|
||||
GUID: "1000"
|
||||
TZ: America/Toronto
|
||||
Reference in New Issue
Block a user