2023-09-03 21:58:48 +00:00
|
|
|
image:
|
2023-11-17 10:22:57 +00:00
|
|
|
repository: feramance/qbitrr
|
2023-09-03 21:58:48 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2023-11-30 12:19:14 +00:00
|
|
|
tag: v3.8.8@sha256:76167d8a60985db5b8b0478cd38cd462d56cca96330e9e363dc7b9f02deb58e0
|
2023-09-03 21:58:48 +00:00
|
|
|
securityContext:
|
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
2023-09-16 19:23:39 +00:00
|
|
|
runAsNonRoot: false
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
2023-09-03 21:58:48 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
enabled: false
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
enabled: false
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
2023-09-16 19:23:39 +00:00
|
|
|
initContainers:
|
|
|
|
1-create-config-file:
|
|
|
|
type: install
|
|
|
|
enabled: true
|
|
|
|
imageSelector: "image"
|
|
|
|
command:
|
|
|
|
- /bin/sh
|
|
|
|
- -c
|
|
|
|
args:
|
|
|
|
- |
|
|
|
|
conf="/config/config.toml"
|
|
|
|
example="https://raw.githubusercontent.com/Feramance/qBitrr/master/config.example.toml"
|
|
|
|
if [ -f "$conf" ]; then
|
|
|
|
echo "$conf exists. Skipping..."
|
|
|
|
else
|
|
|
|
echo "$conf does not exist... Downloading the example from upstream..."
|
|
|
|
wget "$example" -O $conf || echo "Failed to download"
|
|
|
|
fi
|
2023-09-03 21:58:48 +00:00
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: false
|
|
|
|
readiness:
|
|
|
|
enabled: false
|
|
|
|
startup:
|
|
|
|
enabled: false
|
2023-10-31 20:58:08 +00:00
|
|
|
env:
|
|
|
|
QBITRR_OVERRIDES_DATA_PATH: /config
|
2023-09-03 21:58:48 +00:00
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /config
|
2023-09-16 19:23:39 +00:00
|
|
|
targetSelector:
|
|
|
|
main:
|
|
|
|
main: {}
|
|
|
|
1-create-config-file: {}
|
2023-09-03 21:58:48 +00:00
|
|
|
downloads:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /completed_downloads
|
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: false
|