Files
turingpi/applications/plex.yaml
T
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

45 lines
1.6 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: plex
namespace: argocd
annotations:
# Enable automatic image updates for Plex
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 values file
argocd-image-updater.argoproj.io/write-back-method: 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
argocd-image-updater.argoproj.io/git-commit-email: argocd@turing.lan
argocd-image-updater.argoproj.io/git-commit-message: "chore: update Plex image to {{.NewTag}}"
spec:
project: default
sources:
- repoURL: http://gitea-http.gitea.svc.cluster.local:3000/admin/kube-plex.git
path: charts/kube-plex
targetRevision: HEAD
ref: charts
helm:
releaseName: plex
valueFiles:
- $values/helm-values/plex_values.yml
- 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