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

78 lines
2.1 KiB
YAML

---
# yaml-language-server: $schema=https://ks.hsn.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: unpackerr
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 2.6.0
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
controllers:
main:
annotations:
reloader.stakater.com/auto: "true"
containers:
main:
image:
repository: ghcr.io/unpackerr/unpackerr
tag: 0.13.1@sha256:04fcb43fa70e6db88331962760607842cdf19889e6d35d9d2fde0cf6a1550eaf
env:
TZ: America/Chicago
UN_WEBSERVER_METRICS: "true"
UN_SONARR_0_URL: http://sonarr.default.svc.cluster.local
UN_SONARR_0_PATHS_0: /data/nas-media/qb/downloads/complete/sonarr/
UN_RADARR_0_URL: http://radarr.default.svc.cluster.local
UN_RADARR_0_PATHS_0: /data/nas-media/qb/downloads/complete/radarr/
envFrom:
- secretRef:
name: unpackerr-secret
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities: { drop: ["ALL"] }
resources:
requests:
cpu: 10m
limits:
memory: 4Gi
pod:
securityContext:
runAsUser: 568
runAsGroup: 568
runAsNonRoot: true
fsGroup: 568
fsGroupChangePolicy: OnRootMismatch
service:
main:
ports:
http:
port: 5656
serviceMonitor:
main:
enabled: true
persistence:
media:
type: nfs
server: 10.1.1.11
path: /volume1/Media
advancedMounts:
main:
main:
- path: /data/nas-media