-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
app create --upsert does not auto refresh repository any longer #7800
Comments
Hello @itewk , I believe issue was fixed in https://github.com/argoproj/argo-cd/releases/tag/v2.1.6 by #7508 Can you try upgrading please? |
@alexmt I am currently experincing this on an externally managed cluster where I can't do the upgrade, so I will have to spin up another cluster to install newer argo version to try. But I can take you at your word and the issue description that this is fixed in newer version. i will close htis. |
If you are trying to resolve an environment-specific issue or have a one-off question about the edge case that does not require a feature then please consider asking a question in argocd slack channel.
Checklist:
argocd version
.Describe the bug
Recently upgraded ArgoCD from 1.6.1 to 2.1.2. In ArgoCD 1.6.1 when doing a
argocd app create --upsert
to update an existing app with a new--revision
it worked without issue directly after pushing a new tag to git. In ArgoCD 2.1.2 if I try to do anargocd app create --upsert
passing a new--revision
of a git tag that was just pushed it fails until undeterministic time when when run agian it will work.The difference seems to be in ArgoCD 1.6.1 when doing an
argocd app create --upsert
an automatic app/repo refresh was taking place, but in ArgoCD 2.1.2 it is not.To Reproduce
Behavior in ArogCD 1.6.1
Behavior in ArogCD 2.1.2
Expected behavior
Expected behavior is what happneed in ArgoCD 1.6.1, when i do an
argocd app create --upsert
it should auto refresh existing app so it can point at new revision/tag/branch without me having to manually invoke a refresh.Workaround
In ArogCD 2.1.2 i can work aroudn this by manually invokeing the refresh.
Screenshots
N/a
Version
Logs
N/A
The text was updated successfully, but these errors were encountered: