image:
  repository: tccr.io/truecharts/radarr
  pullPolicy: IfNotPresent
  tag: v4.1.0.6175@sha256:f99958ed4ed31818b820de4a68790d9e0624f0b4738b24d295b9e2943f30d08a

securityContext:
  readOnlyRootFilesystem: false

service:
  main:
    ports:
      main:
        port: 7878
        targetPort: 7878

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:7878/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

persistence:
  config:
    enabled: true
    mountPath: "/config"
