diff --git a/.packaged/index.yaml b/.packaged/index.yaml index 3e439a6..6137b95 100644 --- a/.packaged/index.yaml +++ b/.packaged/index.yaml @@ -3,7 +3,7 @@ entries: jackett: - apiVersion: v2 appVersion: 1.16.0 - created: "2025-05-10T17:17:56.406645+02:00" + created: "2025-05-10T17:21:57.183965+02:00" description: A Helm chart for Kubernetes digest: cb583d90a982e50cb0028e2d8d2afce93ef8f64dc202ddffd59262a74ff33fe1 name: jackett @@ -14,7 +14,7 @@ entries: overseerr: - apiVersion: v2 appVersion: 1.16.0 - created: "2025-05-10T17:17:56.407314+02:00" + created: "2025-05-10T17:21:57.184488+02:00" description: A Helm chart for Kubernetes digest: ac634ebbb7000644e02606157bedbc8ab6e3dd59d22d8ee699093d0f683a2899 name: overseerr @@ -25,7 +25,7 @@ entries: owncloud: - apiVersion: v2 appVersion: 1.16.0 - created: "2025-05-10T17:17:56.408806+02:00" + created: "2025-05-10T17:21:57.185883+02:00" description: A Helm chart for Kubernetes digest: 9a1724f504cc46baffa8dbaff5e3f5b7f3c07d64143643acb3f653b07868e963 name: owncloud @@ -36,7 +36,7 @@ entries: plex: - apiVersion: v2 appVersion: 1.16.0 - created: "2025-05-10T17:17:56.410833+02:00" + created: "2025-05-10T17:21:57.186349+02:00" description: A Helm chart for Kubernetes digest: 52d474c17f631c86fcc5d4eeeff6ec75d3121ea9317a00a9b200d5b7550281a0 name: plex @@ -47,7 +47,7 @@ entries: prowlarr: - apiVersion: v2 appVersion: 1.0.0 - created: "2025-05-10T17:17:56.411341+02:00" + created: "2025-05-10T17:21:57.186909+02:00" description: A Helm chart for Prowlarr - indexer manager/proxy for Sonarr, Radarr, etc. digest: 18a3cb2ebdfa9c5f73c341e92b6a4f152e6143d77ad51f7efbc7215f9c88171c @@ -59,9 +59,9 @@ entries: qbittorrent: - apiVersion: v2 appVersion: 4.5.2 - created: "2025-05-10T17:17:56.411643+02:00" + created: "2025-05-10T17:21:57.187198+02:00" description: A Helm chart for qBittorrent - Open-source BitTorrent client - digest: 5e6a7b112faa6f61d697866bed64b8865a9ba31b36f71b572cd25bc8f2914530 + digest: 237202861d989784b0dca30aa607dd5429083c849f30182c6102201f6e7691a0 name: qbittorrent type: application urls: @@ -70,7 +70,7 @@ entries: radarr: - apiVersion: v2 appVersion: 1.16.0 - created: "2025-05-10T17:17:56.412051+02:00" + created: "2025-05-10T17:21:57.187624+02:00" description: A Helm chart for Kubernetes digest: 78b75bd7d472fadde70016881f54f3359293b39d6ea964344131cc5572bb2b2f name: radarr @@ -81,7 +81,7 @@ entries: readarr: - apiVersion: v2 appVersion: 0.3.0 - created: "2025-05-10T17:17:56.412498+02:00" + created: "2025-05-10T17:21:57.188347+02:00" description: A Helm chart for Kubernetes digest: 5f30c43141fba64f75c346f3ffb657f5d084ae2f941a42731092c91001aec4e4 name: readarr @@ -92,7 +92,7 @@ entries: sonarr: - apiVersion: v2 appVersion: 1.16.0 - created: "2025-05-10T17:17:56.412897+02:00" + created: "2025-05-10T17:21:57.191208+02:00" description: A Helm chart for Kubernetes digest: ba9b24a526270d72b33d1918755baa182095f97fb4f38df16b5a833c8138d6dc name: sonarr @@ -100,4 +100,4 @@ entries: urls: - sonarr-0.1.0.tgz version: 0.1.0 -generated: "2025-05-10T17:17:56.405948+02:00" +generated: "2025-05-10T17:21:57.183212+02:00" diff --git a/.packaged/qbittorrent-0.1.0.tgz b/.packaged/qbittorrent-0.1.0.tgz index b23589d..4f139df 100644 Binary files a/.packaged/qbittorrent-0.1.0.tgz and b/.packaged/qbittorrent-0.1.0.tgz differ diff --git a/qbittorrent/README.md b/qbittorrent/README.md index adce0bb..3c3fe09 100644 --- a/qbittorrent/README.md +++ b/qbittorrent/README.md @@ -33,7 +33,28 @@ The following table lists the configurable parameters for the qBittorrent chart | `service.webNodePort` | Node port for Web UI (if service.type=NodePort) | `30080` | | `service.btNodePort` | Node port for BitTorrent (if service.type=NodePort) | `30881` | | `persistence.config.claimName` | PVC name for config | `qbittorrent-config` | -| `persistence.downloads.claimName` | PVC name for downloads | `qbittorrent-downloads` | +| `persistence.media.claimName` | PVC name for media storage | `media-storage` | + +## Storage Structure + +This chart uses a common `media-storage` persistent volume claim that can be shared across your media server applications (Sonarr, Radarr, etc.). The structure is: + +``` +/media + ├── downloads # Completed downloads + ├── incomplete # In-progress downloads + ├── movies # Movie library + └── tv # TV shows library +``` + +To configure qBittorrent to use these paths: +1. Access the qBittorrent web UI +2. Go to Tools > Options > Downloads +3. Set the following paths: + - Default Save Path: `/media/downloads` + - Keep incomplete torrents in: `/media/incomplete` + +This ensures consistency with other applications in your media server stack. ## Using with MyAnonamouse (MAM) diff --git a/qbittorrent/templates/deployment.yaml b/qbittorrent/templates/deployment.yaml index 4ee8d63..a0a8c5b 100644 --- a/qbittorrent/templates/deployment.yaml +++ b/qbittorrent/templates/deployment.yaml @@ -39,8 +39,8 @@ spec: volumeMounts: - name: config mountPath: {{ .Values.persistence.config.mountPath }} - - name: downloads - mountPath: {{ .Values.persistence.downloads.mountPath }} + - name: media + mountPath: {{ .Values.persistence.media.mountPath }} {{- with .Values.volumeMounts }} {{- toYaml . | nindent 12 }} {{- end }} @@ -58,9 +58,9 @@ spec: - name: config persistentVolumeClaim: claimName: {{ .Values.persistence.config.claimName }} - - name: downloads + - name: media persistentVolumeClaim: - claimName: {{ .Values.persistence.downloads.claimName }} + claimName: {{ .Values.persistence.media.claimName }} {{- with .Values.volumes }} {{- toYaml . | nindent 8 }} {{- end }} diff --git a/qbittorrent/templates/pvc.yaml b/qbittorrent/templates/pvc.yaml index 5274a82..f2c59ec 100644 --- a/qbittorrent/templates/pvc.yaml +++ b/qbittorrent/templates/pvc.yaml @@ -10,18 +10,4 @@ spec: resources: requests: storage: 1Gi - storageClassName: standard ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: {{ .Values.persistence.downloads.claimName }} - labels: - {{- include "qbittorrent.labels" . | nindent 4 }} -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 10Gi storageClassName: standard \ No newline at end of file diff --git a/qbittorrent/values.yaml b/qbittorrent/values.yaml index 9bddd67..715ffaa 100644 --- a/qbittorrent/values.yaml +++ b/qbittorrent/values.yaml @@ -121,6 +121,6 @@ persistence: config: claimName: qbittorrent-config mountPath: /config - downloads: - claimName: qbittorrent-downloads - mountPath: /downloads \ No newline at end of file + media: + claimName: media-storage + mountPath: /media \ No newline at end of file