diff --git a/cluster/apps/download/unpackerr/helm-release.yaml b/cluster/apps/download/unpackerr/helm-release.yaml index a27ca3d..d07c6b3 100644 --- a/cluster/apps/download/unpackerr/helm-release.yaml +++ b/cluster/apps/download/unpackerr/helm-release.yaml @@ -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 \ No newline at end of file + storage: + type: hostPath + hostPath: /mnt/MainPool/Media + globalMounts: + - path: /storage