argocd-image-updater icon indicating copy to clipboard operation
argocd-image-updater copied to clipboard

ArgoCD application getting out of sync after image update

Open saansh45 opened this issue 2 years ago • 4 comments
trafficstars

When we create ArgoCD application, by default we add below ignore differences configuration

  ignoreDifferences:
    - group: '*'
      kind: '*'
      managedFieldsManagers:
        - rollouts-controller

These applications have "AutoImageUpdates" configuration enabled. So whenever there is image update, image updater goes and update the argocd application. And when it updates the application, it's removing

managedFieldsManagers: - rollouts-controller

This happens every time whenever there is image update. This causes ArgoCD application to be out of sync.

Screen Shot 2023-04-14 at 12 24 23 PM

saansh45 avatar Apr 14 '23 16:04 saansh45

@jannfis Do you think you could take a look at this?

diranged avatar Aug 28 '23 22:08 diranged

@diranged I think this should be fixed in that master branch already and just require a release to be fixed. However, there is something odd with the latest code which we have to investigate, before it can be released.

jannfis avatar Aug 29 '23 11:08 jannfis

any update

vl-kp avatar Jan 23 '24 02:01 vl-kp

However, there is something odd with the latest code which we have to investigate

@jannfis - is this still relevant? Is there anything that I can help with to get this cut into a release? It seems to affect all of our applications annotated for the updater now that we've made greater use of the ignoreDifferences block that we need to address.

schlags avatar Apr 16 '24 17:04 schlags