k3s-cluster/cluster/apps/download/unpackerr/helm-release.yaml

77 lines
1.4 KiB
YAML

apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: unpackerr
namespace: download
spec:
interval: 5m
chart:
spec:
chart: app-template
version: 1.5.x
sourceRef:
kind: HelmRepository
name: bjws-charts
namespace: flux-system
values:
image:
repository: ghcr.io/onedr0p/unpackerr
tag: "0.12.0"
probes:
liveness:
enabled: false
startup:
enabled: false
ingress:
main:
enabled: false
persistence:
config:
enabled: true
type: configMap
name: unpackerr-configmap
items:
- key: unpackerr-conf
path: "unpackerr.conf"
storage:
enabled: true
type: hostPath
hostPath: /mnt/MainPool/Media
mountPath: /storage
service:
main:
enabled: true
ports:
http:
port: 5656
serviceMonitor:
main:
enabled: true
labels:
release: kube-prometheus-stack
endpoints:
- port: http
interval: 15s
scrapeTimeout: 5s
path: /metrics
podSecurityContext:
runAsNonRoot: true
runAsUser: 10000
runAsGroup: 10000
fsGroup: 10000
fsGroupChangePolicy: OnRootMismatch
resources:
requests:
cpu: 2m
memory: 6Mi
limits:
memory: 20Mi