From 449c03a90c269742a8c816806403e81ab2a9cd48 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Sat, 8 Apr 2023 19:19:21 -0400 Subject: [PATCH] Add mylar --- cluster/apps/download/kustomization.yaml | 3 +- cluster/apps/download/mylar/helm-release.yaml | 64 +++++++++++++++++++ .../apps/download/mylar/kustomization.yaml | 4 ++ 3 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 cluster/apps/download/mylar/helm-release.yaml create mode 100644 cluster/apps/download/mylar/kustomization.yaml diff --git a/cluster/apps/download/kustomization.yaml b/cluster/apps/download/kustomization.yaml index 95cba52..b34c6b7 100644 --- a/cluster/apps/download/kustomization.yaml +++ b/cluster/apps/download/kustomization.yaml @@ -8,4 +8,5 @@ resources: - ./sonarr - ./prowlarr - ./bazarr -- ./readarr \ No newline at end of file +- ./readarr +- ./mylar \ No newline at end of file diff --git a/cluster/apps/download/mylar/helm-release.yaml b/cluster/apps/download/mylar/helm-release.yaml new file mode 100644 index 0000000..c794d98 --- /dev/null +++ b/cluster/apps/download/mylar/helm-release.yaml @@ -0,0 +1,64 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: mylar + namespace: download +spec: + interval: 5m + chart: + spec: + chart: app-template + version: 1.3.x + sourceRef: + kind: HelmRepository + name: bjws-charts + namespace: flux-system + + values: + image: + repository: lscr.io/linuxserver/mylar + tag: latest + env: + TZ: America/New_York + PGID: "1000" + PUID: "1000" + service: + main: + ports: + http: + port: 8090 + probes: + liveness: + enabled: false + startup: + enabled: false + ingress: + main: + enabled: true + annotations: + cert-manager.io/cluster-issuer: "letsencrypt-production" + traefik.ingress.kubernetes.io/router.entrypoints: websecure + traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd + hosts: + - host: "k3smylar.***REMOVED***" + paths: + - path: / + pathType: Prefix + persistence: + config: + enabled: true + type: hostPath + hostPath: /mnt/MainPool/Kubernetes/mylar + mountPath: /config + storage: + enabled: true + type: hostPath + hostPath: /mnt/MainPool/Media + mountPath: /storage + + resources: + requests: + cpu: 1m + memory: 60Mi + limits: + memory: 1500Mi \ No newline at end of file diff --git a/cluster/apps/download/mylar/kustomization.yaml b/cluster/apps/download/mylar/kustomization.yaml new file mode 100644 index 0000000..ea3145d --- /dev/null +++ b/cluster/apps/download/mylar/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- ./helm-release.yaml \ No newline at end of file