diff --git a/applications/lidarr.yaml b/applications/lidarr.yaml new file mode 100644 index 0000000..a293984 --- /dev/null +++ b/applications/lidarr.yaml @@ -0,0 +1,38 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: lidarr + namespace: argocd + annotations: + # Enable automatic image updates for Lidarr + argocd-image-updater.argoproj.io/image-list: lidarr=ghcr.io/linuxserver/lidarr:latest + # Use digest strategy to track latest tag updates + argocd-image-updater.argoproj.io/lidarr.update-strategy: digest + # Write changes back via ArgoCD API (multi-source friendly) + argocd-image-updater.argoproj.io/write-back-method: argocd + argocd-image-updater.argoproj.io/lidarr.helm.image-name: image.repository + argocd-image-updater.argoproj.io/lidarr.helm.image-tag: image.tag +spec: + project: default + sources: + - repoURL: https://bananaspliff.github.io/geek-charts + chart: lidarr + targetRevision: "*" + ref: charts + helm: + releaseName: lidarr + valueFiles: + - $values/helm-values/lidarr_values.yaml + - repoURL: http://gitea-http.gitea.svc.cluster.local:3000/admin/turingpi.git + targetRevision: HEAD + ref: values + destination: + server: https://kubernetes.default.svc + namespace: default + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true + - ServerSideApply=true diff --git a/helm-values/lidarr_values.yaml b/helm-values/lidarr_values.yaml new file mode 100644 index 0000000..3108a7f --- /dev/null +++ b/helm-values/lidarr_values.yaml @@ -0,0 +1,41 @@ +--- +replicaCount: 1 + +image: + repository: ghcr.io/linuxserver/lidarr + tag: "latest" + pullPolicy: Always + +env: + - name: PUID + value: "1000" + - name: PGID + value: "1000" + - name: TZ + value: "Europe/Amsterdam" + +service: + type: ClusterIP + port: 8686 + +volumes: + - name: plex-data + persistentVolumeClaim: + claimName: "plex-data" + +volumeMounts: + - name: plex-data + mountPath: "/config" + subPath: "configs/lidarr" + - name: "plex-data" + mountPath: "/nfs" + +resources: + requests: + memory: "500Mi" + cpu: "500m" + ephemeral-storage: "50Mi" + limits: + memory: "800Mi" + cpu: "1000m" + ephemeral-storage: "1Gi"