image: repository: tccr.io/truecharts/readarr pullPolicy: IfNotPresent tag: v0.3.5.2217@sha256:1aad6292bb40ad4b1a5dc04c5324327a7eae3f2531e240d3dd9ecb49f6323484 exportarrImage: repository: tccr.io/truecharts/exportarr pullPolicy: IfNotPresent tag: v1.5.3@sha256:f369a43b28410f12ce1b96f52187dd5c6fb9769a137ecc6f7ab8fdcfbe7db58e 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