42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
YAML
image:
|
|
repository: tccr.io/truecharts/whisparr
|
|
pullPolicy: IfNotPresent
|
|
tag: 0.1.0.53@sha256:62b62224ff77a9db3358ac768c21bb8ae4fda78620089c43d4056203bc89a5ea
|
|
|
|
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:6969/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
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 6969
|
|
protocol: HTTP
|
|
targetPort: 6969
|
|
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
mountPath: /config
|
|
|
|
portal:
|
|
enabled: true
|