Files
web-apps/jovies/argocd.yaml
Mayne0213 65d20c16c9 FIX(jovies): Use git write-back method for Image Updater
- Change write-back-method from argocd to git㊙️argocd/github-creds
- Image Updater will now commit tag changes directly to helm-values.yaml
- Fixes sync loop caused by ArgoCD overwriting Application parameters
2026-01-07 18:07:07 +09:00

48 lines
1.3 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: jovies
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
annotations:
argocd-image-updater.argoproj.io/image-list: jovies=ghcr.io/mayne0213/jovies:latest
argocd-image-updater.argoproj.io/jovies.update-strategy: digest
argocd-image-updater.argoproj.io/write-back-method: git:secret:argocd/github-creds
argocd-image-updater.argoproj.io/git-branch: main
argocd-image-updater.argoproj.io/jovies.helm.image-tag: image.tag
spec:
project: default
sources:
- repoURL: https://github.com/K3S-HOME/web-apps.git
targetRevision: main
path: charts/web-app
helm:
valueFiles:
- $values/jovies/helm-values.yaml
- repoURL: https://github.com/K3S-HOME/web-apps.git
targetRevision: main
ref: values
destination:
server: https://kubernetes.default.svc
namespace: jovies
syncPolicy:
automated:
prune: true
selfHeal: true
allowEmpty: false
syncOptions:
- CreateNamespace=true
- PrunePropagationPolicy=foreground
- PruneLast=true
retry:
limit: 5
backoff:
duration: 5s
factor: 2
maxDuration: 3m
managedNamespaceMetadata:
labels:
goldilocks.fairwinds.com/enabled: 'true'
revisionHistoryLimit: 10