107 lines
2.8 KiB
YAML
107 lines
2.8 KiB
YAML
image:
|
|
repository: ghcr.io/onedr0p/sonarr
|
|
pullPolicy: IfNotPresent
|
|
tag: 4.0.1.929@sha256:4d107b1f0bfa652195d1f4054bdceac271553cfcc397a7b8ceedbfa625cba0b8
|
|
exportarrImage:
|
|
repository: ghcr.io/onedr0p/exportarr
|
|
pullPolicy: IfNotPresent
|
|
tag: v1.6.1@sha256:60cf3d44aa0b7dea2a65160b2e2e373c1ae38cd6b12a45fe81b8afa45ac31c22
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 8989
|
|
metrics:
|
|
enabled: true
|
|
type: ClusterIP
|
|
targetSelector: exportarr
|
|
ports:
|
|
metrics:
|
|
enabled: true
|
|
port: 8990
|
|
targetSelector: exportarr
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
probes:
|
|
liveness:
|
|
enabled: true
|
|
type: http
|
|
path: /ping
|
|
readiness:
|
|
enabled: true
|
|
type: http
|
|
path: /ping
|
|
startup:
|
|
enabled: true
|
|
type: http
|
|
path: /ping
|
|
env:
|
|
SONARR__PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
SONARR__AUTHENTICATION_METHOD: ""
|
|
exportarr:
|
|
enabled: true
|
|
type: Deployment
|
|
strategy: RollingUpdate
|
|
replicas: 1
|
|
podSpec:
|
|
containers:
|
|
exportarr:
|
|
primary: true
|
|
enabled: true
|
|
imageSelector: exportarrImage
|
|
args:
|
|
- sonarr
|
|
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
|
|
targetSelector: metrics
|
|
prometheusRule:
|
|
enabled: false
|
|
portal:
|
|
open:
|
|
enabled: true
|
|
updated: true
|