Add initContainer for gluetun with OpenVPN configuration
This commit is contained in:
@@ -14,6 +14,28 @@ spec:
|
||||
labels:
|
||||
app: jellyseerr
|
||||
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:
|
||||
- name: jellyseerr
|
||||
image: fallenbagel/jellyseerr:2.7.0
|
||||
|
||||
Reference in New Issue
Block a user