Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DiffIgnoring the only annotation present leads to an empty annotation object which is still different #7513

Open
Rafaesp opened this issue Oct 21, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@Rafaesp
Copy link

Rafaesp commented Oct 21, 2021

I have the following diff in one of my applications:
image

I've added the following ignoreDifferences to my manifest:

ignoreDifferences:
  - group: apps
    kind: Deployment
    jsonPointers:
      - /spec/template/metadata/annotations/kubectl.kubernetes.io~1restartedAt

But the end result is still a difference and the sync status is still OutOfSync.
image

Is there a way ArgoCD can handle this case? Thank you

@Rafaesp Rafaesp added the enhancement New feature or request label Oct 21, 2021
@JrCs
Copy link

JrCs commented Oct 22, 2021

I think you must add a "fake" annotation so the result is not an empty annotation

@nabadger
Copy link

This is causing us a few problems (especially when it happens on lots of apps).

Are there any solutions from argo here (don't really like the idea of having a fake-annotation to work around this).

@guiguan
Copy link

guiguan commented Jun 7, 2024

Any update on this? This is so annoying

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants