nelm icon indicating copy to clipboard operation
nelm copied to clipboard

Runtime annotations such as `werf.io/version` trigger resource updates in ArgoCD integration

Open CRASH-Tech opened this issue 2 years ago • 1 comments

Before proceeding

  • [X] I didn't find a similar issue

Problem

I'm using werf as CMP for argo-cd, and always when I update werf version - all apps becomes OutOfSync.

Solution (if you have one)

Add cli flag for werf render, to disable werf annotations. All or only werf.io/version

Additional information

No response

CRASH-Tech avatar Jan 22 '23 11:01 CRASH-Tech

In werf v2 when you use werf converge resources will not be updated if only werf service annotations such as werf.io/version changed.

With ArgoCD it's a different story, since with Argo + werf CMP werf only renders manifests — the actual deployment is done by the Argo deployment subsystem, which doesn't know that werf.io/version should be ignored.

The best way to solve it would be werf/nelm#66

ilya-lesikov avatar May 31 '24 18:05 ilya-lesikov