Gluttony-Cluster/prowlarr/prowlarr-helmrelease.yaml

128 lines
3.5 KiB
YAML
Raw Normal View History

2023-10-10 00:22:21 +00:00
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: prowlarr
namespace: prowlarr-ns
spec:
chart:
spec:
chart: prowlarr
2023-10-10 00:36:02 +00:00
version: 12.0.13
2023-10-10 00:22:21 +00:00
sourceRef:
kind: HelmRepository
name: truecharts
namespace: flux-system
interval: 15m0s
timeout: 5m
releaseName: prowlarr
values:
image:
repository: tccr.io/truecharts/prowlarr
tag: v1.9.3.4013@sha256:c2552d39bded7da923e7e03f531ee53337beb39c0f710d853eaeeb3ebcdec0d8
pullPolicy: IfNotPresent
exportarrImage:
repository: tccr.io/truecharts/exportarr
pullPolicy: IfNotPresent
tag: v1.5.5@sha256:0dbba4994ac9926e284b5a24fe38e7ca546bcda4b20bbd1ab2444b8bc190d6cb
securityContext:
container:
readOnlyRootFilesystem: false
service:
main:
enabled: true
type: ClusterIP
ports:
main:
port: 9696
metrics:
enabled: true
type: ClusterIP
targetSelector: exportarr
ports:
metrics:
enabled: true
port: 9697
targetSelector: exportarr
workload:
main:
podSpec:
containers:
main:
env:
PROWLARR__PORT: "{{ .Values.service.main.ports.main.port }}"
PROWLARR__AUTHENTICATION_METHOD: ""
exportarr:
enabled: true
type: Deployment
strategy: RollingUpdate
replicas: 1
podSpec:
containers:
exportarr:
primary: true
enabled: true
imageSelector: exportarrImage
args:
- prowlarr
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
# enable backfill of historical metrics
# PROWLARR__BACKFILL: false
# Set a date from which to start the backfill
# PROWLARR__BACKFILL_SINCE_DATE: 1970-01-01
CONFIG: "/config/config.xml"
persistence:
config:
enabled: true
storageClass: "longhorn"
size: "1Gi"
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