mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 21:09:58 +00:00
remove gluetun, added wireguard
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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