47 lines
1.4 KiB
YAML
47 lines
1.4 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/lidarr
|
|
pullPolicy: IfNotPresent
|
|
tag: v1.3.1.3371@sha256:1cea8b94bc278c6fa20fb15747e8a1c393079e87b8537775d499667795717de6
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 8686
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
mountPath: /config
|
|
portal:
|
|
open:
|
|
enabled: true
|
|
securityContext:
|
|
container:
|
|
readOnlyRootFilesystem: false
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
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
|
|
env:
|
|
LIDARR__PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
LIDARR__AUTHENTICATION_METHOD: ""
|