Running image does not get updated. Image updater logs keeps repeating lines about updating the image, but it does not get updated.
To Reproduce
Install versions mentioned, publish a new image.
Application configuration below
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: xxx
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
annotations:
argocd-image-updater.argoproj.io/image-list: api=xxx/api
argocd-image-updater.argoproj.io/api.update-strategy: latest
spec:
project: default
source:
repoURL: https://gitlab.com/xxx/cloud/infra.git
targetRevision: HEAD
path: ./charts/xxx
helm:
parameters:
- name: domain
value: xx.yyy.ai
destination:
server: https://kubernetes.default.svc
namespace: app
syncPolicy:
automated: # automated sync by default retries failed attempts 5 times with following delays between attempts ( 5s, 10s, 20s, 40s, 80s ); retry controlled using `retry` field.
prune: true # Specifies if resources should be pruned during auto-syncing ( false by default ).
selfHeal: true # Specifies if partial app sync should be executed when resources are changed only in target Kubernetes cluster and no git change detected ( false by default ).
allowEmpty: true # Allows deleting all application resources during automatic syncing ( false by default ).
Expected behavior
Pod should be recreated with latest image version. Now the Application gets updated somehow but that does not get reflected in the actual deployment.
Additional context
When I get details from argocd, there is some info about the image that should get deployed, below.
This might duplicate #580. Both update methods (git and direct) fail to update the image even though the git method even makes the commit to the registry.
Describe the bug
Running image does not get updated. Image updater logs keeps repeating lines about updating the image, but it does not get updated.
To Reproduce Install versions mentioned, publish a new image. Application configuration below
Expected behavior Pod should be recreated with latest image version. Now the Application gets updated somehow but that does not get reflected in the actual deployment.
Additional context When I get details from argocd, there is some info about the image that should get deployed, below.
Version Kube 1.27 (EKS) ArgoCD 2.7.2 (latest stable also tested) Argocd-image-updater v0.12.2+1aa317c (latest stable also tested)
Logs