From cf39bcc643f83503a071d6fa972147580a38f85d Mon Sep 17 00:00:00 2001 From: Junwei Zhao Date: Mon, 25 Aug 2025 21:14:26 +1000 Subject: [PATCH] Update --- media/media.yaml | 51 ++++++++++++++++++++++++------------------------ 1 file changed, 25 insertions(+), 26 deletions(-) diff --git a/media/media.yaml b/media/media.yaml index 76522da..be27684 100644 --- a/media/media.yaml +++ b/media/media.yaml @@ -51,11 +51,11 @@ spec: value: Australia/Melbourne resources: requests: - cpu: 100m - memory: 256Mi + cpu: 50m + memory: 64Mi limits: cpu: 200m - memory: 512Mi + memory: 256Mi - name: qbit image: mirror.gcr.io/linuxserver/qbittorrent:5.1.2 securityContext: @@ -435,39 +435,38 @@ spec: # claimName: filebrowser-local-pvc containers: - name: openvpn - image: qmcgaw/gluetun:latest + # Config + # https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/surfshark.md + image: mirror.gcr.io/qmcgaw/gluetun:latest securityContext: runAsUser: 0 privileged: true capabilities: - add: - - NET_ADMIN + add: ["NET_ADMIN"] imagePullPolicy: IfNotPresent - resources: - requests: - cpu: 100m - memory: 200Mi - limits: - cpu: 200m - memory: 400Mi env: - - name: OPENVPN_USER - value: p1787216 - - name: OPENVPN_PASSWORD + - name: VPN_TYPE + value: "wireguard" + - name: WIREGUARD_ADDRESSES + value: 10.14.0.2/16 + - name: SERVER_HOSTNAMES + value: au-mel.prod.surfshark.com,au-syd.prod.surfshark.com + - name: WIREGUARD_PRIVATE_KEY valueFrom: secretKeyRef: - name: openvpn-password - key: password - - name: VPNSP - value: "private internet access" - - name: PIA_ENCRYPTION - value: normal - - name: REGION - value: "AU Sydney" + name: surfshark-wireguard + key: private_key + - name: VPN_SERVICE_PROVIDER + value: "surfshark" - name: TZ value: Australia/Melbourne - # - name: SERVER_HOSTNAME - # value: au-sydney.privacy.network + resources: + requests: + cpu: 50m + memory: 64Mi + limits: + cpu: 200m + memory: 256Mi - name: files image: mirror.gcr.io/wahyd4/aria2-ui:edge imagePullPolicy: Always