106 lines
3 KiB
YAML
106 lines
3 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: prowlarr
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 3.4.0
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: bjw-s
|
|
namespace: flux-system
|
|
install:
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
retries: 3
|
|
strategy: rollback
|
|
values:
|
|
controllers:
|
|
prowlarr:
|
|
annotations:
|
|
reloader.stakater.com/auto: "true"
|
|
containers:
|
|
app:
|
|
image:
|
|
repository: ghcr.io/onedr0p/prowlarr-develop
|
|
tag: 1.24.3.4754@sha256:9c88257656e4ac893d692abf38a784c80ef1638eb99fae376bdb48f75498ce52
|
|
env:
|
|
# Ref: https://github.com/Radarr/Radarr/issues/7030#issuecomment-1039689518
|
|
# Ref: https://github.com/dotnet/runtime/issues/9336
|
|
PROWLARR__APP__INSTANCENAME: Prowlarr
|
|
PROWLARR__APP__THEME: dark
|
|
PROWLARR__AUTH__METHOD: External
|
|
PROWLARR__AUTH__REQUIRED: DisabledForLocalAddresses
|
|
PROWLARR__LOG__DBENABLED: "False"
|
|
PROWLARR__LOG__LEVEL: info
|
|
PROWLARR__SERVER__PORT: &port 80
|
|
PROWLARR__UPDATE__BRANCH: develop
|
|
TZ: America/Chicago
|
|
envFrom:
|
|
- secretRef:
|
|
name: prowlarr-secret
|
|
probes:
|
|
liveness: &probes
|
|
enabled: true
|
|
custom: true
|
|
spec:
|
|
httpGet:
|
|
path: /ping
|
|
port: *port
|
|
initialDelaySeconds: 0
|
|
periodSeconds: 10
|
|
timeoutSeconds: 1
|
|
failureThreshold: 3
|
|
readiness: *probes
|
|
startup:
|
|
enabled: false
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
readOnlyRootFilesystem: true
|
|
capabilities: { drop: ["ALL"] }
|
|
resources:
|
|
requests:
|
|
cpu: 10m
|
|
limits:
|
|
memory: 1Gi
|
|
pod:
|
|
securityContext:
|
|
runAsUser: 568
|
|
runAsGroup: 568
|
|
runAsNonRoot: true
|
|
fsGroup: 568
|
|
fsGroupChangePolicy: OnRootMismatch
|
|
service:
|
|
app:
|
|
controller: prowlarr
|
|
ports:
|
|
http:
|
|
port: *port
|
|
ingress:
|
|
app:
|
|
enabled: true
|
|
className: internal-nginx
|
|
hosts:
|
|
- host: &host "{{ .Release.Name }}.jahanson.tech"
|
|
paths:
|
|
- path: /
|
|
service:
|
|
identifier: app
|
|
port: http
|
|
tls:
|
|
- hosts:
|
|
- *host
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
type: emptyDir
|
|
tmp:
|
|
type: emptyDir
|