48 lines
1.4 KiB
YAML
48 lines
1.4 KiB
YAML
|
image:
|
||
|
repository: ghcr.io/hotio/whisparr
|
||
|
pullPolicy: IfNotPresent
|
||
|
tag: v3-3.0.0.545@sha256:fc6a6b8435756484035205282d8ed57899e9c9033459728cfa8be8a9676f0641
|
||
|
securityContext:
|
||
|
container:
|
||
|
readOnlyRootFilesystem: false
|
||
|
runAsGroup: 0
|
||
|
runAsUser: 0
|
||
|
service:
|
||
|
main:
|
||
|
ports:
|
||
|
main:
|
||
|
port: 6969
|
||
|
protocol: http
|
||
|
targetPort: 6969
|
||
|
persistence:
|
||
|
config:
|
||
|
enabled: true
|
||
|
mountPath: /config
|
||
|
portal:
|
||
|
open:
|
||
|
enabled: true
|
||
|
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: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
|