update gluetun and use built in settinsg for vpn
This commit is contained in:
@@ -19,7 +19,7 @@ spec:
|
||||
conversionStrategy: Default
|
||||
decodingStrategy: None
|
||||
key: /cl01tl/qbittorrent/auth
|
||||
metadataPolicy: None
|
||||
metadataPolicy: None
|
||||
property: admin-password
|
||||
|
||||
---
|
||||
@@ -39,10 +39,10 @@ spec:
|
||||
kind: ClusterSecretStore
|
||||
name: vault
|
||||
data:
|
||||
- secretKey: wg0.conf
|
||||
- secretKey: private-key
|
||||
remoteRef:
|
||||
conversionStrategy: Default
|
||||
decodingStrategy: None
|
||||
key: /cl01tl/qbittorrent/config
|
||||
metadataPolicy: None
|
||||
property: wg0.conf
|
||||
metadataPolicy: None
|
||||
property: private-key
|
||||
|
@@ -29,13 +29,22 @@ qbittorrent:
|
||||
gluetun:
|
||||
image:
|
||||
repository: ghcr.io/qdm12/gluetun
|
||||
tag: v3.38.0
|
||||
tag: v3.39.0
|
||||
pullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: VPN_SERVICE_PROVIDER
|
||||
value: custom
|
||||
value: protonvpn
|
||||
- name: VPN_TYPE
|
||||
value: wireguard
|
||||
- name: WIREGUARD_PRIVATE_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: qbittorrent-wireguard-conf
|
||||
key: private-key
|
||||
- name: VPN_PORT_FORWARDING
|
||||
value: "on"
|
||||
- name: PORT_FORWARD_ONLY
|
||||
value: "on"
|
||||
- name: FIREWALL_OUTBOUND_SUBNETS
|
||||
value: 192.168.1.0/24,10.244.0.0/16
|
||||
- name: FIREWALL_INPUT_PORTS
|
||||
@@ -130,17 +139,6 @@ qbittorrent:
|
||||
qbittorrent:
|
||||
- path: /mnt/store
|
||||
readOnly: false
|
||||
wireguard-config:
|
||||
enabled: true
|
||||
type: secret
|
||||
name: qbittorrent-wireguard-conf
|
||||
advancedMounts:
|
||||
main:
|
||||
gluetun:
|
||||
- path: /gluetun/wireguard/wg0.conf
|
||||
readOnly: true
|
||||
mountPropagation: None
|
||||
subPath: wg0.conf
|
||||
tunnel-device:
|
||||
enabled: true
|
||||
type: hostPath
|
||||
|
Reference in New Issue
Block a user