99 lines
2.9 KiB
YAML
99 lines
2.9 KiB
YAML
image:
|
|
repository: ghcr.io/home-operations/sonarr
|
|
pullPolicy: IfNotPresent
|
|
tag: 4.0.15.2940@sha256:ca6c735014bdfb04ce043bf1323a068ab1d1228eea5bab8305ca0722df7baf78
|
|
exportarrImage:
|
|
repository: ghcr.io/onedr0p/exportarr
|
|
pullPolicy: IfNotPresent
|
|
tag: v2.2.0@sha256:320b0ea7399f4b9af4741dcdddd7d40c05c36b0359679305d8a54df4e97065df
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 8989
|
|
metrics:
|
|
enabled: "{{ .Values.metrics.main.enabled }}"
|
|
type: ClusterIP
|
|
ports:
|
|
metrics:
|
|
enabled: true
|
|
port: 8990
|
|
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__SERVER__PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
# External | Basic | Forms
|
|
SONARR__AUTH__METHOD: ""
|
|
# DisabledForLocalAddresses | Enabled
|
|
SONARR__AUTH__REQUIRED: DisabledForLocalAddresses
|
|
# SONARR__APP__THEME: dark
|
|
# SONARR__APP__INSTANCENAME: Sonarr
|
|
# SONARR__LOG__LEVEL: info
|
|
# SONARR__UPDATE__BRANCH: develop
|
|
exportarr:
|
|
enabled: "{{ .Values.metrics.main.enabled }}"
|
|
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:
|
|
mountPath: /config
|
|
readOnly: true
|
|
metrics:
|
|
main:
|
|
enabled: true
|
|
type: "servicemonitor"
|
|
endpoints:
|
|
- port: metrics
|
|
path: /metrics
|
|
targetSelector: metrics
|
|
prometheusRule:
|
|
enabled: false
|