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

84 lines
2.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: unpackerr
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.5.1
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
strategy: rollback
values:
controllers:
unpackerr:
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: ghcr.io/unpackerr/unpackerr
tag: 0.14.5@sha256:dc72256942ce50d1c8a1aeb5aa85b6ae2680a36eefd2182129d8d210fce78044
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:
app:
controller: unpackerr
ports:
http:
port: 5656
serviceMonitor:
app:
serviceName: unpackerr
endpoints:
- port: http
scheme: http
path: /metrics
interval: 1m
scrapeTimeout: 10s
persistence:
media:
type: nfs
server: 10.1.1.13
path: /eru/media
advancedMounts:
unpackerr:
app:
- path: /data/nas-media