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
This commit is contained in:
@@ -8,7 +8,8 @@ metadata:
|
||||
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: argocd
|
||||
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
|
||||
|
||||
@@ -5,7 +5,7 @@ name: jovies
|
||||
image:
|
||||
registry: ghcr.io
|
||||
repository: mayne0213/jovies
|
||||
# tag is managed by ArgoCD Image Updater
|
||||
tag: latest # Updated by ArgoCD Image Updater
|
||||
pullPolicy: Always
|
||||
|
||||
replicaCount: 1
|
||||
|
||||
Reference in New Issue
Block a user