I successfully synced an application with a single source, a helm chart repo.
I subsequently added a second source, in index 0, a git repository.
When I sync the application, I get:
This indicates to me that ArgoCD is performing comparisons between each index in the source array (i.e. old[0] vs new[0]), instead of pattern matching between source repos/names when comparisons are performed.
To Reproduce
Create an application with a single source, a helm chart repo.
Sync the application.
Add a second source, in index 0, a git repository.
Attempt to sync the application.
Expected behavior
I would expect that ArgoCD would perform comparisons between sources with the same repositoryUrl, rather than naively comparing between source indexes.
Checklist:
argocd version
.Describe the bug
This indicates to me that ArgoCD is performing comparisons between each index in the source array (i.e. old[0] vs new[0]), instead of pattern matching between source repos/names when comparisons are performed.
To Reproduce
Expected behavior
I would expect that ArgoCD would perform comparisons between sources with the same
repositoryUrl
, rather than naively comparing between source indexes.Version