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