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

122 lines
3.4 KiB
YAML
Raw Permalink Normal View History

2024-01-27 20:30:12 -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
2024-01-27 20:30:12 -06:00
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: radarr
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.1.0
2024-01-27 20:30:12 -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 20:30:12 -06:00
values:
controllers:
2024-03-19 17:38:08 -05:00
radarr:
2024-01-27 20:30:12 -06:00
annotations:
reloader.stakater.com/auto: "true"
containers:
2024-03-19 17:38:08 -05:00
app:
2024-01-27 20:30:12 -06:00
image:
repository: ghcr.io/onedr0p/radarr
tag: 5.4.6.8723@sha256:3198f09197697a4d57f995650ebf34b57b2fdbb991dac1611ad8356d9e8bda8e
2024-01-27 20:30:12 -06:00
env:
# Ref: https://github.com/Radarr/Radarr/issues/7030#issuecomment-1039689518
# Ref: https://github.com/dotnet/runtime/issues/9336
COMPlus_EnableDiagnostics: "0"
RADARR__AUTHENTICATION_METHOD: External
RADARR__AUTHENTICATION_REQUIRED: DisabledForLocalAddresses
RADARR__INSTANCE_NAME: Radarr
RADARR__PORT: &port 80
RADARR__LOG_LEVEL: info
RADARR__THEME: dark
2024-01-27 20:43:09 -06:00
RADARR__POSTGRES_PORT: "5432"
RADARR__POSTGRES_MAIN_DB: radarr_main
2024-01-27 20:44:27 -06:00
RADARR__POSTGRES_LOG_DB: radarr_logs
2024-01-27 20:30:12 -06:00
TZ: America/Chicago
envFrom:
- secretRef:
name: radarr-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:
2024-03-02 16:28:18 -06:00
memory: 4Gi
2024-01-27 20:30:12 -06:00
pod:
securityContext:
runAsUser: 568
runAsGroup: 568
runAsNonRoot: true
fsGroup: 568
fsGroupChangePolicy: OnRootMismatch
supplementalGroups: [10000]
service:
2024-03-19 17:56:51 -05:00
app:
2024-03-19 17:38:08 -05:00
controller: radarr
2024-01-27 20:30:12 -06:00
ports:
http:
port: *port
ingress:
2024-03-19 17:56:51 -05:00
app:
2024-01-27 20:30:12 -06:00
enabled: true
2024-01-27 20:33:10 -06:00
className: internal-nginx
2024-01-27 20:30:12 -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 20:30:12 -06:00
port: http
tls:
- hosts:
- *host
persistence:
config:
enabled: true
existingClaim: radarr
tmp:
type: emptyDir
media:
type: nfs
server: 10.1.1.11
path: /volume1/Media
globalMounts:
- path: /data/nas-media
2024-01-27 22:58:33 -06:00
sting-media:
type: nfs
server: 10.1.1.12
path: /mnt/user/Media/
globalMounts:
- path: /data/sting-media