## media.transmission-openvpn.values.yml replicaCount: 1 image: repository: "haugene/transmission-openvpn" tag: "latest" pullPolicy: "IfNotPresent" env: - name: OPENVPN_PROVIDER value: "NORDVPN" # VPN provider. List of supported providers: https://haugene.github.io/docker-transmission-openvpn/supported-providers/ - name: OPENVPN_USERNAME valueFrom: # Reference to the secret | openvpn.username secretKeyRef: name: "openvpn" key: "username" - name: OPENVPN_PASSWORD valueFrom: # Reference to the secret | openvpn.password secretKeyRef: name: "openvpn" key: "password" - name: NORDVPN_PROTOCOL value: "TCP" - name: NORDVPN_COUNTRY value: "NL" # Country where we want to download over VPN - name: NORDVPN_CATEGORY value: "P2P" # VPN Type - name: LOCAL_NETWORK value: "192.168.222.0/24" - name: TRANSMISSION_PEER_PORT value: "47444" - name: TRANSMISSION_DOWNLOAD_DIR value: "/nfs/torrent" - name: PUID value: "1000" - name: PGID value: "1000" - name: CREATE_TUN_DEVICE value: "false" service: type: ClusterIP port: 9091 volumes: - name: "plex-data" persistentVolumeClaim: claimName: "plex-data" # PersistentVolumeClaim created earlier - name: "dev-tun" # Needed for VPN hostPath: path: "/dev/net/tun" volumeMounts: - name: "plex-data" mountPath: "/data" subPath: "configs/transmission-data" # Path /mnt/ssd/media/configs/transmission-data where transmission writes the configuration - name: "plex-data" mountPath: "/nfs/torrent" subPath: "torrent" # Path /mnt/ssd/media/downloads/transmission where transmission downloads Torrents - name: "dev-tun" mountPath: "/dev/net/tun" # Needed for VPN securityContext: capabilities: # Needed for VPN add: - NET_ADMIN