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