2024-09-05 03:41:16 -05:00
|
|
|
---
|
|
|
|
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/externalsecret_v1beta1.json
|
|
|
|
apiVersion: external-secrets.io/v1beta1
|
|
|
|
kind: ExternalSecret
|
|
|
|
metadata:
|
|
|
|
name: cross-seed
|
|
|
|
spec:
|
2024-10-29 22:20:39 -05:00
|
|
|
refreshInterval: 5m
|
2024-09-05 03:41:16 -05:00
|
|
|
secretStoreRef:
|
|
|
|
kind: ClusterSecretStore
|
|
|
|
name: onepassword-connect
|
|
|
|
target:
|
|
|
|
name: cross-seed-secret
|
|
|
|
template:
|
|
|
|
engineVersion: v2
|
|
|
|
data:
|
|
|
|
config.js: |
|
|
|
|
module.exports = {
|
|
|
|
action: "inject",
|
|
|
|
apiKey: "{{.CROSS_SEED_API_KEY}}",
|
|
|
|
delay: 30,
|
2024-10-29 22:20:39 -05:00
|
|
|
duplicateCategories: false,
|
|
|
|
flatLinking: false,
|
2024-09-05 03:41:16 -05:00
|
|
|
includeNonVideos: true,
|
|
|
|
includeSingleEpisodes: true,
|
2024-10-29 22:20:39 -05:00
|
|
|
linkCategory: "cross-seed",
|
2024-09-05 03:41:16 -05:00
|
|
|
linkDir: "/data/nas-media/qb/downloads/complete/cross-seed",
|
|
|
|
linkType: "hardlink",
|
|
|
|
matchMode: "safe",
|
|
|
|
outputDir: "/config",
|
|
|
|
port: 80,
|
|
|
|
qbittorrentUrl: "http://qbittorrent.qbittorrent.svc.cluster.local",
|
2024-10-29 22:20:39 -05:00
|
|
|
radarr: ["http://radarr.default.svc.cluster.local/?apikey={{ .RADARR_API_KEY }}"],
|
2024-09-05 03:41:16 -05:00
|
|
|
skipRecheck: true,
|
2024-10-29 22:20:39 -05:00
|
|
|
sonarr: ["http://sonarr.default.svc.cluster.local/?apikey={{ .SONARR_API_KEY }}"],
|
2024-09-05 03:41:16 -05:00
|
|
|
torrentDir: "/qbittorrent/qBittorrent/BT_backup",
|
2024-11-19 18:15:52 -06:00
|
|
|
torznab: []
|
2024-09-05 03:41:16 -05:00
|
|
|
};
|
|
|
|
dataFrom:
|
|
|
|
- extract:
|
|
|
|
key: cross-seed
|
2024-10-29 22:20:39 -05:00
|
|
|
- extract:
|
|
|
|
key: radarr
|
|
|
|
- extract:
|
|
|
|
key: sonarr
|
|
|
|
- extract:
|
|
|
|
key: prowlarr
|