125 lines
3.4 KiB
YAML
125 lines
3.4 KiB
YAML
image:
|
|
repository: ghcr.io/onedr0p/sonarr
|
|
pullPolicy: IfNotPresent
|
|
tag: 3.0.10.1567@sha256:90200b6c31047426aaa175b05715f42edba6bfad34f7845a3ca1b8d8f41b9cd2
|
|
exportarrImage:
|
|
repository: ghcr.io/onedr0p/exportarr
|
|
pullPolicy: IfNotPresent
|
|
tag: v1.6.0@sha256:b522e128509b766cf66f847190fccd225ff194dc76775fe6a215f2dd3010cac2
|
|
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: ""
|
|
# Enable postgres if v4 of sonarr supports it.
|
|
# SONARR__POSTGRES_PORT: 5432
|
|
# SONARR__POSTGRES_USER: "{{ .Values.cnpg.main.user }}"
|
|
# SONARR__POSTGRES_MAIN_DB: "{{ .Values.cnpg.main.database }}"
|
|
# SONARR__POSTGRES_HOST:
|
|
# secretKeyRef:
|
|
# name: cnpg-main-urls
|
|
# key: host
|
|
# SONARR__POSTGRES_PASSWORD:
|
|
# secretKeyRef:
|
|
# name: cnpg-main-urls
|
|
# key: password
|
|
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
|
|
# might be supported on sonarr v4 upon released
|
|
cnpg:
|
|
main:
|
|
enabled: false
|
|
database: sonarr
|
|
user: sonarr
|
|
metrics:
|
|
main:
|
|
enabled: true
|
|
type: "servicemonitor"
|
|
endpoints:
|
|
- port: metrics
|
|
path: /metrics
|
|
targetSelector: metrics
|
|
prometheusRule:
|
|
enabled: false
|
|
portal:
|
|
open:
|
|
enabled: true
|
|
updated: true
|