modify to use gluetun container within the same pod
This commit is contained in:
@@ -8,7 +8,5 @@ data:
|
|||||||
VPN_SERVICE_PROVIDER: "surfshark"
|
VPN_SERVICE_PROVIDER: "surfshark"
|
||||||
SERVER_COUNTRIES: "Netherlands"
|
SERVER_COUNTRIES: "Netherlands"
|
||||||
HTTPPROXY: "ON"
|
HTTPPROXY: "ON"
|
||||||
FIREWALL_INPUT_PORTS: "8080,7878,8989,8191,5055,6881"
|
|
||||||
FIREWALL_VPN_INPUT_PORTS: "8080,7878,8989,8191,5055,6881"
|
|
||||||
FIREWALL_OUTBOUND_SUBNETS: "192.168.1.0/24,10.42.0.0/16,10.43.0.0/16"
|
FIREWALL_OUTBOUND_SUBNETS: "192.168.1.0/24,10.42.0.0/16,10.43.0.0/16"
|
||||||
DNS_ADDRESS: "8.8.8.8"
|
DNS_ADDRESS: "8.8.8.8"
|
||||||
|
|||||||
@@ -14,6 +14,28 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: prowlarr
|
app: prowlarr
|
||||||
spec:
|
spec:
|
||||||
|
initContainers:
|
||||||
|
- name: gluetun
|
||||||
|
image: qmcgaw/gluetun:v3.40.0
|
||||||
|
restartPolicy: Always
|
||||||
|
securityContext:
|
||||||
|
capabilities:
|
||||||
|
add:
|
||||||
|
- NET_ADMIN
|
||||||
|
envFrom:
|
||||||
|
- configMapRef:
|
||||||
|
name: gluetun-config
|
||||||
|
env:
|
||||||
|
- name: OPENVPN_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: openvpn-secrets
|
||||||
|
key: OPENVPN_PASSWORD
|
||||||
|
- name: OPENVPN_USER
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: openvpn-secrets
|
||||||
|
key: OPENVPN_USER
|
||||||
containers:
|
containers:
|
||||||
- name: prowlarr
|
- name: prowlarr
|
||||||
image: lscr.io/linuxserver/prowlarr:1.37.0
|
image: lscr.io/linuxserver/prowlarr:1.37.0
|
||||||
|
|||||||
@@ -14,6 +14,28 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: qbittorrent
|
app: qbittorrent
|
||||||
spec:
|
spec:
|
||||||
|
initContainers:
|
||||||
|
- name: gluetun
|
||||||
|
image: qmcgaw/gluetun:v3.40.0
|
||||||
|
restartPolicy: Always
|
||||||
|
securityContext:
|
||||||
|
capabilities:
|
||||||
|
add:
|
||||||
|
- NET_ADMIN
|
||||||
|
envFrom:
|
||||||
|
- configMapRef:
|
||||||
|
name: gluetun-config
|
||||||
|
env:
|
||||||
|
- name: OPENVPN_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: openvpn-secrets
|
||||||
|
key: OPENVPN_PASSWORD
|
||||||
|
- name: OPENVPN_USER
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: openvpn-secrets
|
||||||
|
key: OPENVPN_USER
|
||||||
containers:
|
containers:
|
||||||
- name: qbittorrent
|
- name: qbittorrent
|
||||||
image: linuxserver/qbittorrent:5.1.0
|
image: linuxserver/qbittorrent:5.1.0
|
||||||
|
|||||||
Reference in New Issue
Block a user