101 lines
1.9 KiB
YAML
101 lines
1.9 KiB
YAML
replicaCount: 1
|
|
|
|
image:
|
|
repository: ghcr.io/cross-seed/cross-seed
|
|
tag: "6"
|
|
pullPolicy: Always
|
|
|
|
env:
|
|
- name: TZ
|
|
value: "Europe/Amsterdam"
|
|
- name: QBITTORRENT_USERNAME
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: cross-seed-secrets
|
|
key: QBITTORRENT_USERNAME
|
|
- name: QBITTORRENT_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: cross-seed-secrets
|
|
key: QBITTORRENT_PASSWORD
|
|
- name: NZBGEEK_API_KEY
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: cross-seed-secrets
|
|
key: NZBGEEK_API_KEY
|
|
|
|
args:
|
|
- "daemon"
|
|
|
|
config:
|
|
qbittorrentUrl: "http://qbittorrent.default.svc.cluster.local:8080"
|
|
torrentDir: "/qbittorrent-config/qBittorrent/BT_backup"
|
|
dataDirs:
|
|
- "/data/torrents"
|
|
outputDir: null
|
|
action: "inject"
|
|
torznabBaseUrl: "https://api.nzbgeek.info/api"
|
|
|
|
secret:
|
|
create: true
|
|
name: cross-seed-secrets
|
|
qbittorrentUsername: "REPLACE_ME"
|
|
qbittorrentPassword: "REPLACE_ME"
|
|
nzbgeekApiKey: "REPLACE_ME"
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 2468
|
|
|
|
volumes:
|
|
- name: plex-data
|
|
persistentVolumeClaim:
|
|
claimName: plex-data
|
|
- name: config
|
|
configMap:
|
|
name: cross-seed-config
|
|
|
|
volumeMounts:
|
|
- name: plex-data
|
|
mountPath: "/config"
|
|
subPath: "configs/cross-seed"
|
|
- name: config
|
|
mountPath: "/config/config.js"
|
|
subPath: "config.js"
|
|
- name: plex-data
|
|
mountPath: "/qbittorrent-config"
|
|
subPath: "configs/qbittorrent"
|
|
- name: plex-data
|
|
mountPath: "/data/torrents"
|
|
subPath: "torrent"
|
|
|
|
livenessProbe:
|
|
tcpSocket:
|
|
port: 2468
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 20
|
|
timeoutSeconds: 2
|
|
failureThreshold: 3
|
|
|
|
readinessProbe:
|
|
tcpSocket:
|
|
port: 2468
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
timeoutSeconds: 2
|
|
failureThreshold: 3
|
|
|
|
resources:
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "100m"
|
|
limits:
|
|
memory: "512Mi"
|
|
cpu: "500m"
|
|
|
|
nodeSelector: {}
|
|
|
|
tolerations: []
|
|
|
|
affinity: {}
|