This commit is contained in:
@@ -109,6 +109,31 @@ qbittorrent:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 64Mi
|
||||
qbit-manage:
|
||||
image:
|
||||
repository: ghcr.io/stuffanthings/qbit_manage
|
||||
tag: v4.3.0
|
||||
pullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: QBT_SCHEDULE
|
||||
value: 0 * * * *
|
||||
- name: QBT_STARTUP_DELAY
|
||||
value: 360
|
||||
- name: QBT_CONFIG
|
||||
value: /config/config.yml
|
||||
- name: QBT_LOGFILE
|
||||
value: /cache/activity.log
|
||||
- name: QBT_LOG_LEVEL
|
||||
value: INFO
|
||||
- name: QBIT_NTFY_URL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: qbittorrent-qbit-manage-config
|
||||
key: ntfy-url
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 64Mi
|
||||
service:
|
||||
main:
|
||||
controller: main
|
||||
@@ -134,6 +159,9 @@ qbittorrent:
|
||||
qbittorrent:
|
||||
- path: /config
|
||||
readOnly: false
|
||||
qbit-manage:
|
||||
- path: /qbittorrent
|
||||
readOnly: false
|
||||
update-script:
|
||||
enabled: true
|
||||
type: configMap
|
||||
@@ -144,6 +172,32 @@ qbittorrent:
|
||||
gluetun:
|
||||
- path: /gluetun/update.sh
|
||||
subPath: update.sh
|
||||
qbit-manage-config-data:
|
||||
storageClass: ceph-block
|
||||
accessMode: ReadWriteOnce
|
||||
size: 1Gi
|
||||
retain: true
|
||||
advancedMounts:
|
||||
main:
|
||||
qbit-manage:
|
||||
- path: /config
|
||||
readOnly: false
|
||||
qbit-manage-config-cache:
|
||||
type: emptyDir
|
||||
advancedMounts:
|
||||
main:
|
||||
qbit-manage:
|
||||
- path: /cache
|
||||
readOnly: false
|
||||
qbit-manage-config:
|
||||
enabled: true
|
||||
type: configMap
|
||||
name: qbit-manage-config
|
||||
advancedMounts:
|
||||
main:
|
||||
qbit-manage:
|
||||
- path: /config/config.yml
|
||||
subPath: config.yml
|
||||
storage:
|
||||
type: persistentVolumeClaim
|
||||
existingClaim: qbittorrent-nfs-storage
|
||||
@@ -152,3 +206,6 @@ qbittorrent:
|
||||
qbittorrent:
|
||||
- path: /mnt/store
|
||||
readOnly: false
|
||||
qbit-manage:
|
||||
- path: /mnt/store
|
||||
readOnly: false
|
||||
|
Reference in New Issue
Block a user