diff --git a/deploy/deluge/deluge-deploy.yaml b/deploy/deluge/deluge-deploy.yaml index ddef6ef..71205ca 100644 --- a/deploy/deluge/deluge-deploy.yaml +++ b/deploy/deluge/deluge-deploy.yaml @@ -14,10 +14,12 @@ spec: app: deluge spec: securityContext: + runAsUser: 0 containers: - name: deluge - image: bottledpills/deluge-openvpn:1.0 + image: bottledpills/deluge-openvpn:v1.5 securityContext: + privileged: true # Often required for TUN/TAP devices capabilities: add: - NET_ADMIN @@ -48,6 +50,8 @@ spec: mountPath: /config - name: downloads mountPath: /downloads + - name: dev-net-tun + mountPath: /dev/net/tun volumes: - name: config persistentVolumeClaim: @@ -55,3 +59,7 @@ spec: - name: downloads persistentVolumeClaim: claimName: deluge-downloads + - name: dev-net-tun + hostPath: + path: /dev/net/tun + type: CharDevice \ No newline at end of file