41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/lidarr
|
|
pullPolicy: IfNotPresent
|
|
tag: v1.0.0.2512@sha256:08a83652586a52b58ecb26cf00c2f31d1825bb4e0285b24b30d4144c1009ff8f
|
|
|
|
securityContext:
|
|
readOnlyRootFilesystem: false
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 8686
|
|
targetPort: 8686
|
|
|
|
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:8686/api/v1/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
|
|
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
mountPath: "/config"
|