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

77 lines
1.6 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
namespace: download
spec:
interval: 5m
chart:
spec:
chart: app-template
version: 3.5.0
sourceRef:
kind: HelmRepository
name: bjws-charts
namespace: flux-system
values:
controllers:
main:
pod:
securityContext:
runAsNonRoot: true
runAsUser: 10000
runAsGroup: 10000
fsGroup: 10000
fsGroupChangePolicy: OnRootMismatch
containers:
main:
image:
repository: golift/unpackerr
tag: 0.14
resources:
requests:
cpu: 2m
memory: 6Mi
limits:
memory: 20Mi
service:
app:
controller: main
ports:
http:
port: 5656
serviceMonitor:
main:
enabled: true
labels:
release: kube-prometheus-stack
serviceName: app
endpoints:
- port: http
interval: 15s
scrapeTimeout: 5s
path: /metrics
persistence:
config:
type: configMap
name: unpackerr-configmap
items:
- key: unpackerr-conf
path: unpackerr.conf
globalMounts:
- path: /config
storage:
type: hostPath
hostPath: /mnt/MainPool/Media
globalMounts:
- path: /storage