Compare commits

..

2 Commits

Author SHA1 Message Date
gilgamezh 11e3fb8043 chore(image-updater): git write-back to values files for all apps
Set values-file annotations with alias helm.image-name=image.repository and helm.image-tag=image.tag.\nEnsures updates commit into /helm-values/*.\n\nCommitted via Codex CLI.
2025-08-30 19:33:22 +02:00
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
7 changed files with 28 additions and 34 deletions
+3 -5
View File
@@ -7,11 +7,9 @@ metadata:
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}}"
argocd-image-updater.argoproj.io/values-file: $values/helm-values/flaresolverr_values.yaml
argocd-image-updater.argoproj.io/flaresolverr.helm.image-name: image.repository
argocd-image-updater.argoproj.io/flaresolverr.helm.image-tag: image.tag
spec:
project: default
sources:
+7 -5
View File
@@ -7,11 +7,13 @@ metadata:
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}}"
argocd-image-updater.argoproj.io/values-file: $values/helm-values/ollama_values.yaml
argocd-image-updater.argoproj.io/ollama.helm.image-name: image.repository
argocd-image-updater.argoproj.io/ollama.helm.image-tag: image.tag
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: argocd
spec:
project: default
sources:
+4 -2
View File
@@ -8,9 +8,11 @@ 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 back to Git repository (commits to this repo)
# Write changes back to Git values file
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/values-file: $values/helm-values/plex_values.yml
argocd-image-updater.argoproj.io/plex.helm.image-name: image.repository
argocd-image-updater.argoproj.io/plex.helm.image-tag: image.tag
# Git configuration for write-back
argocd-image-updater.argoproj.io/git-branch: master
argocd-image-updater.argoproj.io/git-commit-user: argocd-image-updater
+3 -5
View File
@@ -7,11 +7,9 @@ metadata:
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}}"
argocd-image-updater.argoproj.io/values-file: $values/helm-values/prowlarr_values.yml
argocd-image-updater.argoproj.io/prowlarr.helm.image-name: image.repository
argocd-image-updater.argoproj.io/prowlarr.helm.image-tag: image.tag
spec:
project: default
sources:
+4 -6
View File
@@ -8,13 +8,11 @@ metadata:
argocd-image-updater.argoproj.io/image-list: radarr=ghcr.io/linuxserver/radarr:latest
# Use digest strategy to track latest tag updates
argocd-image-updater.argoproj.io/radarr.update-strategy: digest
# Write changes back to Git repository (GitOps workflow)
# Write changes back to Git values file
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}}"
argocd-image-updater.argoproj.io/values-file: $values/helm-values/radarr_values.yaml
argocd-image-updater.argoproj.io/radarr.helm.image-name: image.repository
argocd-image-updater.argoproj.io/radarr.helm.image-tag: image.tag
# Git configuration for write-back
argocd-image-updater.argoproj.io/git-branch: master
argocd-image-updater.argoproj.io/git-commit-user: argocd-image-updater
+4 -6
View File
@@ -8,13 +8,11 @@ metadata:
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 to Git repository (GitOps workflow)
# Write changes back to Git values file
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}}"
argocd-image-updater.argoproj.io/values-file: $values/helm-values/sonarr_values.yaml
argocd-image-updater.argoproj.io/sonarr.helm.image-name: image.repository
argocd-image-updater.argoproj.io/sonarr.helm.image-tag: image.tag
# Git configuration for write-back
argocd-image-updater.argoproj.io/git-branch: master
argocd-image-updater.argoproj.io/git-commit-user: argocd-image-updater
+3 -5
View File
@@ -7,11 +7,9 @@ metadata:
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}}"
argocd-image-updater.argoproj.io/values-file: $values/helm-values/transmission_values.yml
argocd-image-updater.argoproj.io/transmission.helm.image-name: image.repository
argocd-image-updater.argoproj.io/transmission.helm.image-tag: image.tag
spec:
project: default
sources: