fix(unpackerr): switch to official image, use app-template 3.1.0

This commit is contained in:
SeanOMik 2024-05-23 19:04:34 -04:00
parent 8e8085fbe2
commit f6a2c8c0f5
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
1 changed files with 39 additions and 40 deletions

View File

@ -1,3 +1,4 @@
# 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/v2beta2
kind: HelmRelease
metadata:
@ -8,45 +9,40 @@ spec:
chart:
spec:
chart: app-template
version: 1.3.x
version: 3.1.0
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:
controllers:
main:
enabled: false
pod:
securityContext:
runAsNonRoot: true
runAsUser: 10000
runAsGroup: 10000
fsGroup: 10000
fsGroupChangePolicy: OnRootMismatch
persistence:
config:
enabled: true
type: configMap
name: unpackerr-configmap
items:
- key: unpackerr-conf
path: "unpackerr.conf"
containers:
main:
image:
repository: golift/unpackerr
tag: 0.13
storage:
enabled: true
type: hostPath
hostPath: /mnt/MainPool/Media
mountPath: /storage
resources:
requests:
cpu: 2m
memory: 6Mi
limits:
memory: 20Mi
service:
main:
enabled: true
app:
controller: main
ports:
http:
port: 5656
@ -56,22 +52,25 @@ spec:
enabled: true
labels:
release: kube-prometheus-stack
serviceName: app
endpoints:
- port: http
interval: 15s
scrapeTimeout: 5s
path: /metrics
podSecurityContext:
runAsNonRoot: true
runAsUser: 10000
runAsGroup: 10000
fsGroup: 10000
fsGroupChangePolicy: OnRootMismatch
persistence:
config:
type: configMap
name: unpackerr-configmap
items:
- key: unpackerr-conf
path: unpackerr.conf
globalMounts:
- path: /config
resources:
requests:
cpu: 2m
memory: 6Mi
limits:
memory: 20Mi
storage:
type: hostPath
hostPath: /mnt/MainPool/Media
globalMounts:
- path: /storage