media: add cross-seed with nzbgeek config
This commit is contained in:
@@ -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}`
|
||||
]
|
||||
};
|
||||
Reference in New Issue
Block a user