2021-03-06 20:32:31 +00:00
|
|
|
image:
|
2021-12-03 12:02:44 +00:00
|
|
|
repository: tccr.io/truecharts/sonarr
|
2021-03-06 20:32:31 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2022-03-17 08:15:06 +00:00
|
|
|
tag: v3.0.7.1477@sha256:a14027b732b5abe71854d48f76872e8bd0ff25d2b640e5f025bb30d96dfa73ec
|
2021-03-08 13:32:58 +00:00
|
|
|
|
2021-05-19 13:12:45 +00:00
|
|
|
service:
|
2021-04-13 19:43:27 +00:00
|
|
|
main:
|
2021-05-19 13:12:45 +00:00
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 8989
|
2021-11-06 21:55:18 +00:00
|
|
|
targetPort: 8989
|
2021-04-13 19:43:27 +00:00
|
|
|
|
2021-03-06 20:32:31 +00:00
|
|
|
probes:
|
2021-03-12 16:18:46 +00:00
|
|
|
liveness:
|
2021-03-06 20:32:31 +00:00
|
|
|
enabled: true
|
|
|
|
## Set this to true if you wish to specify your own livenessProbe
|
|
|
|
custom: true
|
|
|
|
## The spec field contains the values for the default livenessProbe.
|
|
|
|
## If you selected custom: true, this field holds the definition of the livenessProbe.
|
|
|
|
spec:
|
|
|
|
exec:
|
|
|
|
command:
|
|
|
|
- /usr/bin/env
|
|
|
|
- bash
|
|
|
|
- -c
|
|
|
|
- curl --fail localhost:8989/api/v3/system/status?apiKey=`IFS=\> && while
|
|
|
|
read -d \< E C; do if [[ $E = "ApiKey" ]]; then echo $C; fi; done < /config/config.xml`
|
|
|
|
failureThreshold: 5
|
|
|
|
initialDelaySeconds: 60
|
|
|
|
periodSeconds: 10
|
|
|
|
successThreshold: 1
|
|
|
|
timeoutSeconds: 10
|
|
|
|
|
2021-04-13 19:43:27 +00:00
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/config"
|