From bb6ada6f1584094df5bd660f37a1c28daf4ae343 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Mon, 24 Jun 2024 14:43:38 +1000 Subject: [PATCH] fix qBittorrent volumes --- kubernetes/apps/qbittorrent/app/volume.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/kubernetes/apps/qbittorrent/app/volume.yaml b/kubernetes/apps/qbittorrent/app/volume.yaml index 5b68d74..5bf1e5e 100644 --- a/kubernetes/apps/qbittorrent/app/volume.yaml +++ b/kubernetes/apps/qbittorrent/app/volume.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: PersistentVolume metadata: - name: qbittorrent-config-pv + name: qbittorrent-config namespace: qbittorrent labels: type: local @@ -15,6 +15,11 @@ spec: persistentVolumeReclaimPolicy: Retain local: path: "/mnt/nfs/AppData/qbittorrent/config" + claimRef: + apiVersion: v1 + kind: PersistentVolumeClaim + name: qbittorrent-config-pvc + namespace: qbittorrent nodeAffinity: required: nodeSelectorTerms: