Files
turingpi/applications/sonarr.yaml
T
gilgamezh 7237535d6e fix(image-updater): use argocd write-back for multi-source apps
Git write-back fails for Helm repo sources (multi-source): updater attempts to target external chart repos. Switch to argocd for plex, radarr, sonarr, flaresolverr, transmission, ollama. Keep git for prowlarr (chart path in this repo).\n\nCommitted via Codex CLI.
2025-08-30 19:33:22 +02:00

42 lines
1.4 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: sonarr
namespace: argocd
annotations:
# Enable automatic image updates for Sonarr
argocd-image-updater.argoproj.io/image-list: sonarr=ghcr.io/linuxserver/sonarr:latest
# Use digest strategy to track latest tag updates
argocd-image-updater.argoproj.io/sonarr.update-strategy: digest
# Write changes back via ArgoCD API (multi-source friendly)
argocd-image-updater.argoproj.io/write-back-method: argocd
# Git configuration for write-back
argocd-image-updater.argoproj.io/git-branch: master
argocd-image-updater.argoproj.io/git-commit-user: argocd-image-updater
argocd-image-updater.argoproj.io/git-commit-email: argocd@turing.lan
argocd-image-updater.argoproj.io/git-commit-message: "chore: update Sonarr image to {{.NewTag}}"
spec:
project: default
sources:
- repoURL: https://bananaspliff.github.io/geek-charts
chart: sonarr
targetRevision: "*"
ref: charts
helm:
releaseName: sonarr
valueFiles:
- $values/helm-values/sonarr_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