From d9c14ff8ac4745a54730d42bbd59488f0ca8065d Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Tue, 29 Oct 2024 22:20:39 -0500 Subject: [PATCH] apparently I hadn't merged this config for v6 yet --- .../cross-seed/app/externalsecret.yaml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/kubernetes/apps/qbittorrent/cross-seed/app/externalsecret.yaml b/kubernetes/apps/qbittorrent/cross-seed/app/externalsecret.yaml index 249d7ee5..8f7c258b 100644 --- a/kubernetes/apps/qbittorrent/cross-seed/app/externalsecret.yaml +++ b/kubernetes/apps/qbittorrent/cross-seed/app/externalsecret.yaml @@ -5,6 +5,7 @@ kind: ExternalSecret metadata: name: cross-seed spec: + refreshInterval: 5m secretStoreRef: kind: ClusterSecretStore name: onepassword-connect @@ -17,22 +18,36 @@ spec: module.exports = { action: "inject", apiKey: "{{.CROSS_SEED_API_KEY}}", - dataCategory: "cross-seed", delay: 30, - duplicateCategories: true, + duplicateCategories: false, + flatLinking: false, includeEpisodes: true, includeNonVideos: true, includeSingleEpisodes: true, + linkCategory: "cross-seed", linkDir: "/data/nas-media/qb/downloads/complete/cross-seed", linkType: "hardlink", matchMode: "safe", outputDir: "/config", port: 80, qbittorrentUrl: "http://qbittorrent.qbittorrent.svc.cluster.local", + radarr: ["http://radarr.default.svc.cluster.local/?apikey={{ .RADARR_API_KEY }}"], skipRecheck: true, + sonarr: ["http://sonarr.default.svc.cluster.local/?apikey={{ .SONARR_API_KEY }}"], torrentDir: "/qbittorrent/qBittorrent/BT_backup", torznab: [] + // torznab: [ + // 8, // BLU + // 10, // FL + // 12, // FNP + // ].map(i => `http://prowlarr.default.svc.cluster.local/$${i}/api?apikey={{ .PROWLARR_API_KEY }}`), }; dataFrom: - extract: key: cross-seed + - extract: + key: radarr + - extract: + key: sonarr + - extract: + key: prowlarr