lets get this unpriv'd

This commit is contained in:
Joseph Hanson 2024-08-07 10:59:21 -05:00
parent ad357e1cb2
commit b866a00358
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -82,11 +82,13 @@ spec:
- secretRef: - secretRef:
name: qbittorrent-secret name: qbittorrent-secret
securityContext: securityContext:
allowPrivilegeEscalation: true allowPrivilegeEscalation: false
capabilities: capabilities:
add: add:
- NET_ADMIN - NET_ADMIN
privileged: true drop:
- ALL
# privileged: true
port-forward: port-forward:
image: image:
@ -155,3 +157,10 @@ spec:
qbittorrent: qbittorrent:
app: app:
- path: /data/nas-media - path: /data/nas-media
qbtun:
type: hostPath
hostPath: /dev/net
advancedMounts:
qbittorrent:
gluetun:
- path: /dev/net