From e18ea61992ee2a94238765dfe492bf66a7cb497f Mon Sep 17 00:00:00 2001 From: gilgamezh Date: Sat, 30 Aug 2025 18:24:13 +0200 Subject: [PATCH] chore(image-updater): use Git write-back for all apps Set write-back-method=git with write-back-target to this repo, branch=master, and commit identity. Keeps image-list and strategies.\n\nCommitted via Codex CLI. --- applications/flaresolverr.yaml | 9 +++++++++ applications/ollama.yaml | 10 +++++++++- applications/plex.yaml | 5 +++-- applications/prowlarr.yaml | 10 +++++++++- applications/radarr.yaml | 7 ++++++- applications/sonarr.yaml | 7 ++++++- applications/transmission.yaml | 9 +++++++++ 7 files changed, 51 insertions(+), 6 deletions(-) diff --git a/applications/flaresolverr.yaml b/applications/flaresolverr.yaml index eaac8e8..d5949fe 100644 --- a/applications/flaresolverr.yaml +++ b/applications/flaresolverr.yaml @@ -3,6 +3,15 @@ kind: Application metadata: name: flaresolverr namespace: argocd + annotations: + argocd-image-updater.argoproj.io/image-list: flaresolverr=ghcr.io/flaresolverr/flaresolverr:latest + argocd-image-updater.argoproj.io/flaresolverr.update-strategy: digest + argocd-image-updater.argoproj.io/write-back-method: git + argocd-image-updater.argoproj.io/write-back-target: http://gitea-http.gitea.svc.cluster.local:3000/admin/turingpi.git + 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 flaresolverr image to {{.NewTag}}" spec: project: default sources: diff --git a/applications/ollama.yaml b/applications/ollama.yaml index 9ce546d..3c4b0f9 100644 --- a/applications/ollama.yaml +++ b/applications/ollama.yaml @@ -3,6 +3,15 @@ kind: Application metadata: name: ollama namespace: argocd + annotations: + argocd-image-updater.argoproj.io/image-list: ollama=ollama/ollama:latest + argocd-image-updater.argoproj.io/ollama.update-strategy: digest + argocd-image-updater.argoproj.io/write-back-method: git + argocd-image-updater.argoproj.io/write-back-target: http://gitea-http.gitea.svc.cluster.local:3000/admin/turingpi.git + 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 ollama image to {{.NewTag}}" spec: project: default sources: @@ -27,4 +36,3 @@ spec: syncOptions: - CreateNamespace=true - ServerSideApply=true - diff --git a/applications/plex.yaml b/applications/plex.yaml index 14ddb57..e47511a 100644 --- a/applications/plex.yaml +++ b/applications/plex.yaml @@ -8,8 +8,9 @@ metadata: argocd-image-updater.argoproj.io/image-list: plex=linuxserver/plex:latest # Use digest strategy to track latest tag updates argocd-image-updater.argoproj.io/plex.update-strategy: digest - # Write changes back to Git repository (GitOps workflow) + # Write back to Git repository (commits to this repo) argocd-image-updater.argoproj.io/write-back-method: git + argocd-image-updater.argoproj.io/write-back-target: http://gitea-http.gitea.svc.cluster.local:3000/admin/turingpi.git # Git configuration for write-back argocd-image-updater.argoproj.io/git-branch: master argocd-image-updater.argoproj.io/git-commit-user: argocd-image-updater @@ -38,4 +39,4 @@ spec: selfHeal: true syncOptions: - CreateNamespace=true - - ServerSideApply=true \ No newline at end of file + - ServerSideApply=true diff --git a/applications/prowlarr.yaml b/applications/prowlarr.yaml index 673c559..b0b28c4 100644 --- a/applications/prowlarr.yaml +++ b/applications/prowlarr.yaml @@ -3,6 +3,15 @@ kind: Application metadata: name: prowlarr namespace: argocd + annotations: + argocd-image-updater.argoproj.io/image-list: prowlarr=lscr.io/linuxserver/prowlarr:latest + argocd-image-updater.argoproj.io/prowlarr.update-strategy: digest + argocd-image-updater.argoproj.io/write-back-method: git + argocd-image-updater.argoproj.io/write-back-target: http://gitea-http.gitea.svc.cluster.local:3000/admin/turingpi.git + 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 prowlarr image to {{.NewTag}}" spec: project: default sources: @@ -27,4 +36,3 @@ spec: syncOptions: - CreateNamespace=true - ServerSideApply=true - diff --git a/applications/radarr.yaml b/applications/radarr.yaml index 0b4296b..4a5c3be 100644 --- a/applications/radarr.yaml +++ b/applications/radarr.yaml @@ -10,6 +10,11 @@ metadata: argocd-image-updater.argoproj.io/radarr.update-strategy: digest # Write changes back to Git repository (GitOps workflow) argocd-image-updater.argoproj.io/write-back-method: git + argocd-image-updater.argoproj.io/write-back-target: http://gitea-http.gitea.svc.cluster.local:3000/admin/turingpi.git + 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 Radarr image to {{.NewTag}}" # Git configuration for write-back argocd-image-updater.argoproj.io/git-branch: master argocd-image-updater.argoproj.io/git-commit-user: argocd-image-updater @@ -38,4 +43,4 @@ spec: selfHeal: true syncOptions: - CreateNamespace=true - - ServerSideApply=true \ No newline at end of file + - ServerSideApply=true diff --git a/applications/sonarr.yaml b/applications/sonarr.yaml index 3d29fc0..18a62c6 100644 --- a/applications/sonarr.yaml +++ b/applications/sonarr.yaml @@ -10,6 +10,11 @@ metadata: argocd-image-updater.argoproj.io/sonarr.update-strategy: digest # Write changes back to Git repository (GitOps workflow) argocd-image-updater.argoproj.io/write-back-method: git + argocd-image-updater.argoproj.io/write-back-target: http://gitea-http.gitea.svc.cluster.local:3000/admin/turingpi.git + 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}}" # Git configuration for write-back argocd-image-updater.argoproj.io/git-branch: master argocd-image-updater.argoproj.io/git-commit-user: argocd-image-updater @@ -38,4 +43,4 @@ spec: selfHeal: true syncOptions: - CreateNamespace=true - - ServerSideApply=true \ No newline at end of file + - ServerSideApply=true diff --git a/applications/transmission.yaml b/applications/transmission.yaml index a1bd951..2cc3aaa 100644 --- a/applications/transmission.yaml +++ b/applications/transmission.yaml @@ -3,6 +3,15 @@ kind: Application metadata: name: transmission namespace: argocd + annotations: + argocd-image-updater.argoproj.io/image-list: transmission=haugene/transmission-openvpn:latest + argocd-image-updater.argoproj.io/transmission.update-strategy: digest + argocd-image-updater.argoproj.io/write-back-method: git + argocd-image-updater.argoproj.io/write-back-target: http://gitea-http.gitea.svc.cluster.local:3000/admin/turingpi.git + 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 transmission image to {{.NewTag}}" spec: project: default sources: