current state on a fresh install

This commit is contained in:
gilgamezh
2024-03-16 11:17:20 +01:00
commit 728f994ac8
11 changed files with 287 additions and 0 deletions
+66
View File
@@ -0,0 +1,66 @@
## 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: "/downloads/transmission"
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: CREATE_TUN_DEVICE
value: "false"
service:
type: ClusterIP
port: 80
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: "/downloads/transmission"
subPath: "downloads/transmission" # 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