From 17d3a489b8b050087b66f72bc807df47263b20af Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Mon, 9 Oct 2023 20:22:21 -0400 Subject: [PATCH] Add prowlarr release --- prowlarr/prowlarr-helmrelease.yaml | 129 +++++++++++++++++++++++++++++ 1 file changed, 129 insertions(+) create mode 100644 prowlarr/prowlarr-helmrelease.yaml diff --git a/prowlarr/prowlarr-helmrelease.yaml b/prowlarr/prowlarr-helmrelease.yaml new file mode 100644 index 0000000..ce0a4f0 --- /dev/null +++ b/prowlarr/prowlarr-helmrelease.yaml @@ -0,0 +1,129 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: prowlarr + namespace: prowlarr-ns + annotations: + force-recreate: true +spec: + chart: + spec: + chart: prowlarr + version: 7.1.2 + 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 +