Files
turingpi/applications/plex.yaml
T
gilgamezh cfb30912b0 fix: use multi-source ArgoCD Application for Plex
- Separate chart source (kube-plex) and values source (turingpi)
- Deploy to default namespace where existing PVCs are located
- Use complete plex_values.yml for proper GPU and persistence config
- Fixes storage class and duplicate port issues
2025-08-15 17:28:00 +02:00

41 lines
1.4 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
# Use newest-build strategy to detect newer versions than 1.41.8
argocd-image-updater.argoproj.io/plex.update-strategy: newest-build
# Write changes back to Git repository (GitOps workflow)
argocd-image-updater.argoproj.io/write-back-method: 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
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