mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2025-12-16 19:27:37 +00:00
75 lines
1.7 KiB
YAML
75 lines
1.7 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: decluttarr
|
|
namespace: stack-arr
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: decluttarr
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: decluttarr
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: regcred
|
|
containers:
|
|
- name: decluttarr
|
|
image: ghcr.io/manimatter/decluttarr:latest
|
|
env:
|
|
- name: PUID
|
|
value: "1013"
|
|
- name: PGID
|
|
value: "1013"
|
|
- name: TZ
|
|
value: 'Etc/UTC'
|
|
- name: REMOVE_TIMER
|
|
value: '1'
|
|
- name: REMOVE_FAILED
|
|
value: 'True'
|
|
- name: REMOVE_FAILED_IMPORTS
|
|
value: 'True'
|
|
- name: REMOVE_METADATA_MISSING
|
|
value: 'True'
|
|
- name: REMOVE_MISSING_FILES
|
|
value: 'True'
|
|
- name: REMOVE_ORPHANS
|
|
value: 'True'
|
|
- name: REMOVE_SLOW
|
|
value: 'False'
|
|
- name: REMOVE_STALLED
|
|
value: 'True'
|
|
- name: REMOVE_UNMONITORED
|
|
value: 'False'
|
|
- name: MIN_DOWNLOAD_SPEED
|
|
value: '100'
|
|
- name: PERMITTED_ATTEMPTS
|
|
value: '2'
|
|
- name: SONARR
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: decluttarr-secret
|
|
key: sonarr
|
|
- name: QBITTORRENT
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: decluttarr-secret
|
|
key: bittorrent
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /config
|
|
- name: downloads
|
|
mountPath: /data/downloads
|
|
volumes:
|
|
- name: config
|
|
persistentVolumeClaim:
|
|
claimName: decluttarr-config-pvc
|
|
- name: downloads
|
|
persistentVolumeClaim:
|
|
claimName: qbittorrent-downloads-pvc
|
|
|
|
|
|
|