2021-02-08 09:56:33 +00:00
|
|
|
# Default values for Sonarr.
|
|
|
|
|
|
|
|
image:
|
2021-03-11 17:05:34 +00:00
|
|
|
repository: ghcr.io/truecharts/sonarr
|
2021-02-08 09:56:33 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2021-03-08 21:29:17 +00:00
|
|
|
tag: v3.0.5.1143
|
2021-02-08 09:56:33 +00:00
|
|
|
|
|
|
|
strategy:
|
|
|
|
type: Recreate
|
|
|
|
|
2021-03-03 15:51:25 +00:00
|
|
|
services:
|
|
|
|
main:
|
|
|
|
port:
|
|
|
|
port: 8989
|
2021-02-08 09:56:33 +00:00
|
|
|
|
|
|
|
env: {}
|
|
|
|
# TZ: UTC
|
|
|
|
# PUID: 1001
|
|
|
|
# PGID: 1001
|
|
|
|
|
2021-02-25 16:09:50 +00:00
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
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-02-08 09:56:33 +00:00
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: false
|
|
|
|
emptyDir: false
|
|
|
|
|
|
|
|
media:
|
|
|
|
enabled: false
|
|
|
|
emptyDir: false
|
|
|
|
mountPath: /media
|
|
|
|
## Persistent Volume Storage Class
|
|
|
|
## If defined, storageClassName: <storageClass>
|
|
|
|
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
|
|
|
## If undefined (the default) or set to null, no storageClassName spec is
|
|
|
|
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
|
|
|
## GKE, AWS & OpenStack)
|
|
|
|
# storageClass: "-"
|
|
|
|
# accessMode: ReadWriteOnce
|
|
|
|
# size: 1Gi
|
|
|
|
## Do not delete the pvc upon helm uninstall
|
|
|
|
# skipuninstall: false
|
|
|
|
# existingClaim: ""
|
|
|
|
|
|
|
|
## TrueCharts Config
|
|
|
|
|
2021-02-11 20:05:16 +00:00
|
|
|
appVolumeMounts:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
emptyDir: true
|
2021-02-20 11:56:31 +00:00
|
|
|
setPermissions: true
|
2021-02-11 20:05:16 +00:00
|
|
|
mountPath: "/config"
|