media: add cross-seed with nzbgeek config

This commit is contained in:
gilgamezh
2026-01-17 13:29:13 +01:00
parent 7979c6c917
commit adff03ea7c
12 changed files with 449 additions and 0 deletions
@@ -0,0 +1,22 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: cross-seed-config
labels:
app: {{ template "cross-seed.name" . }}
chart: {{ template "cross-seed.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
data:
config.js: |
module.exports = {
qbittorrentUrl: "{{ .Values.config.qbittorrentUrl }}",
qbittorrentUsername: process.env.QBITTORRENT_USERNAME,
qbittorrentPassword: process.env.QBITTORRENT_PASSWORD,
torrentDir: "{{ .Values.config.torrentDir }}",
outputDir: "{{ .Values.config.outputDir }}",
linkDirs: {{ toJson .Values.config.linkDirs }},
torznab: [
`{{ .Values.config.torznabBaseUrl }}?t=search&apikey=${process.env.NZBGEEK_API_KEY}`
]
};