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

CurrentSyncStatus updates but it doesn't sync values.yaml #6129

Open
1 task done
vrodomista opened this issue Apr 29, 2021 · 0 comments
Open
1 task done

CurrentSyncStatus updates but it doesn't sync values.yaml #6129

vrodomista opened this issue Apr 29, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@vrodomista
Copy link

vrodomista commented Apr 29, 2021

Checklist:

Describe the bug

I have a medium sized monorepo with about 25 apps inside of it. Recently, after upgrading to 2.0.1, I noticed that apps are simply not auto-syncing

I monitor the application repo server, and see the cache misses for all of the applications. After the cache miss, the Current Sync Status of all applications is updated to show the latest commit. Then the application controller goes through its auto sync process, but decides to "skip sync" for every application. This is where we encounter the issue. Last sync result still shows a commit from a day ago and never updates until I actually hit "sync"

As a note, everything works fine when I'm updating the templates directly - it's when there is a change to values.yaml that I see issues.

---- EDIT ----

I've actually narrowed this down further - this issue only happens to resources that have been marked with a Hook - both the PreSync job and PostSync deployment were not being used to decide if resources were out of sync

To Reproduce

Create large monorepo with dozens of applications, try to auto sync one of them

Expected behavior

I expect to make a change in the GitHub repo and have those changes reflected in the cluster resources ArgoCD manages
Screenshots

Screen Shot 2021-04-29 at 12 04 13 PM

Version

2.0.1

@vrodomista vrodomista added the bug Something isn't working label Apr 29, 2021
@vrodomista vrodomista changed the title CurrentSyncStatus updates but it doesn't sync CurrentSyncStatus updates but it doesn't sync values.yaml Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant