mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 13:09:53 +00:00
@@ -33,18 +33,20 @@ 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:
|
||||
capabilities:
|
||||
add:
|
||||
- NET_ADMIN
|
||||
volumeMounts:
|
||||
- name: wireguard-config-secret
|
||||
mountPath: /gluetun/wireguard
|
||||
mountPath: /config/wg_confs
|
||||
- name: wireguard-config
|
||||
mountPath: /config
|
||||
volumes:
|
||||
- name: qbittorrent-config
|
||||
persistentVolumeClaim:
|
||||
@@ -52,6 +54,9 @@ spec:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: media-data
|
||||
- name: wireguard-config
|
||||
persistentVolumeClaim:
|
||||
claimName: wireguard-config
|
||||
- name: wireguard-config-secret
|
||||
secret:
|
||||
secretName: wireguard-config-secret
|
||||
|
||||
@@ -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
|
||||
11
media/qbittorrent/wireguard-config.yaml
Normal file
11
media/qbittorrent/wireguard-config.yaml
Normal 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
|
||||
Reference in New Issue
Block a user