image: repository: tccr.io/truecharts/readarr pullPolicy: IfNotPresent tag: v0.3.6.2232@sha256:a214ce9e06340d2a32d23ef418a4953c017731f89724af8d80040c25e49d1afc exportarrImage: repository: tccr.io/truecharts/exportarr pullPolicy: IfNotPresent tag: v1.5.5@sha256:0dbba4994ac9926e284b5a24fe38e7ca546bcda4b20bbd1ab2444b8bc190d6cb securityContext: container: readOnlyRootFilesystem: false service: main: ports: main: port: 8787 metrics: enabled: true type: ClusterIP targetSelector: exportarr ports: metrics: enabled: true port: 8788 targetSelector: exportarr 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:8787/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: READARR__PORT: "{{ .Values.service.main.ports.main.port }}" exportarr: enabled: true type: Deployment strategy: RollingUpdate replicas: 1 podSpec: containers: exportarr: primary: true enabled: true imageSelector: exportarrImage args: - readarr probes: liveness: enabled: true type: http path: /healthz port: "{{ .Values.service.metrics.ports.metrics.port }}" readiness: enabled: true type: http path: /healthz port: "{{ .Values.service.metrics.ports.metrics.port }}" startup: enabled: true type: http path: /healthz port: "{{ .Values.service.metrics.ports.metrics.port }}" env: INTERFACE: 0.0.0.0 PORT: "{{ .Values.service.metrics.ports.metrics.port }}" URL: '{{ printf "http://%v:%v" (include "tc.v1.common.lib.chart.names.fullname" $) .Values.service.main.ports.main.port }}' # additional metrics (slow) # ENABLE_ADDITIONAL_METRICS: false # enable gathering unknown queue items # ENABLE_UNKNOWN_QUEUE_ITEMS: false CONFIG: "/config/config.xml" persistence: config: enabled: true targetSelector: main: main: mountPath: /config exportarr: exportarr: mountPath: /config readOnly: true metrics: main: enabled: true type: "servicemonitor" endpoints: - port: metrics path: /metrics prometheusRule: enabled: false portal: open: enabled: true