theshire/kubernetes/apps/default/prowlarr/app/helmrelease.yaml

108 lines
3 KiB
YAML
Raw Normal View History

2024-01-27 15:26:38 -06:00
---
2024-03-19 17:38:08 -05:00
# 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
2024-01-27 15:26:38 -06:00
kind: HelmRelease
metadata:
name: prowlarr
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.1.0
2024-01-27 15:26:38 -06:00
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
strategy: rollback
2024-01-27 15:26:38 -06:00
values:
controllers:
2024-03-19 17:38:08 -05:00
prowlarr:
2024-01-27 15:26:38 -06:00
annotations:
reloader.stakater.com/auto: "true"
containers:
2024-03-19 17:38:08 -05:00
app:
2024-01-27 15:26:38 -06:00
image:
repository: ghcr.io/onedr0p/prowlarr-develop
tag: 1.17.2.4511@sha256:01dce2a9c0e29a2a5338a9457698ea3e027727bed6b9f0ab7ac4a259cafb991b
2024-01-27 15:26:38 -06:00
env:
# Ref: https://github.com/Radarr/Radarr/issues/7030#issuecomment-1039689518
# Ref: https://github.com/dotnet/runtime/issues/9336
COMPlus_EnableDiagnostics: "0"
PROWLARR__INSTANCE_NAME: Prowlarr
PROWLARR__PORT: &port 80
PROWLARR__LOG_LEVEL: info
PROWLARR__AUTHENTICATION_METHOD: External
PROWLARR__THEME: dark
TZ: America/Chicago
PROWLARR__POSTGRES_MAIN_DB: prowlarr_main
2024-01-27 16:23:12 -06:00
PROWLARR__POSTGRES_LOG_DB: prowlarr_logs
2024-01-27 15:26:38 -06:00
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:
2024-03-19 17:38:08 -05:00
app:
controller: prowlarr
2024-01-27 15:26:38 -06:00
ports:
http:
port: *port
ingress:
2024-03-19 17:38:08 -05:00
app:
2024-01-27 15:26:38 -06:00
enabled: true
2024-01-27 19:12:50 -06:00
className: internal-nginx
2024-01-27 15:26:38 -06:00
hosts:
- host: &host "{{ .Release.Name }}.jahanson.tech"
paths:
- path: /
service:
2024-03-19 17:38:08 -05:00
identifier: app
2024-01-27 15:26:38 -06:00
port: http
tls:
- hosts:
- *host
persistence:
config:
enabled: true
type: emptyDir
tmp:
type: emptyDir