kubernetes/apps/downloads/soularr/app/helmrelease.yaml
1
---
2
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s-labs/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
3
apiVersion: helm.toolkit.fluxcd.io/v2
4
kind: HelmRelease
5
metadata:
6
name: soularr
7
spec:
8
chartRef:
9
kind: OCIRepository
10
name: soularr
11
interval: 1h
12
values:
13
controllers:
14
soularr:
15
annotations:
16
reloader.stakater.com/auto: "true"
17
containers:
18
app:
19
image:
20
repository: docker.io/mrusse08/soularr
21
tag: v1.2.2@sha256:c4f97924fabfce4e0de539d821ea7d20519b95c4815a707bacfc9d7212597f20
22
env:
23
SCRIPT_INTERVAL: "300"
24
WEBUI_ENABLED: "true"
25
WEBUI_PORT: &port 8265
26
envFrom:
27
- secretRef:
28
name: "{{ .Release.Name }}-secret"
29
probes:
30
liveness:
31
enabled: true
32
readiness:
33
enabled: true
34
startup:
35
enabled: true
36
spec:
37
failureThreshold: 30
38
periodSeconds: 5
39
resources:
40
limits:
41
memory: 512Mi
42
requests:
43
cpu: 10m
44
memory: 256Mi
45
securityContext:
46
allowPrivilegeEscalation: false
47
capabilities:
48
drop:
49
- ALL
50
readOnlyRootFilesystem: true
51
configMaps:
52
config:
53
data:
54
config.ini: |
55
[Lidarr]
56
api_key = $${LIDARR_API_KEY}
57
host_url = http://lidarr.media.svc.cluster.local
58
download_dir = /media/Downloads/soulseek/complete
59
disable_sync = False
61
[Slskd]
62
api_key = $${SLSKD_API_KEY}
63
host_url = http://slskd.downloads.svc.cluster.local
64
url_base = /
65
download_dir = /media/Downloads/soulseek/complete
66
delete_searches = False
67
stalled_timeout = 3600
68
remote_queue_timeout = 300
70
[Release Settings]
71
use_selected_lidarr_release = False
72
use_most_common_tracknum = True
73
allow_multi_disc = True
74
accepted_countries = Europe,Japan,United Kingdom,United States,[Worldwide],Australia,Canada,Portugal
75
skip_region_check = False
76
accepted_formats = CD,Digital Media,Vinyl
78
[Search Settings]
79
search_timeout = 5000
80
maximum_peer_queue = 50
81
minimum_peer_upload_speed = 0
82
minimum_filename_match_ratio = 0.8
83
minimum_search_interval = 5
84
allowed_filetypes = flac,mp3 320,mp3
85
ignored_users =
86
album_prepend_artist = False
87
search_type = incrementing_page
88
number_of_albums_to_grab = 10
89
title_blacklist =
90
search_blacklist =
91
search_source = missing
92
failed_import_denylist = True
94
[Download Settings]
95
download_filtering = True
96
use_extension_whitelist = False
97
extensions_whitelist = lrc,nfo,txt
99
[Logging]
100
level = INFO
101
format = [%(levelname)s|%(module)s|L%(lineno)d] %(asctime)s: %(message)s
102
datefmt = %Y-%m-%dT%H:%M:%S%z
103
log_to_file = True
104
log_file = soularr.log
105
max_bytes = 1048576
106
backup_count = 3
107
defaultPodOptions:
108
securityContext:
109
fsGroup: 1000
110
fsGroupChangePolicy: OnRootMismatch
111
runAsGroup: 1000
112
runAsNonRoot: true
113
runAsUser: 1000
114
service:
115
app:
116
ports:
117
http:
118
port: *port
119
route:
120
app:
121
hostnames:
122
- "{{ .Release.Name }}.janpuc.com"
123
parentRefs:
124
- name: envoy-internal
125
namespace: network
126
persistence:
127
config:
128
type: configMap
129
identifier: config
130
globalMounts:
131
- path: /data/config.ini
132
subPath: config.ini
133
data:
134
type: emptyDir
135
globalMounts:
136
- path: /data
137
subPath: var
138
media:
139
type: nfs
140
server: bigmouth.internal
141
path: /mnt/Vault/Media
142
globalMounts:
143
- path: /media
144
tmp:
145
type: emptyDir