Syncing sources in multi-source application depends on order of sources in spec. #20791
Open
3 tasks done
Labels
bug
Something isn't working
component:helm
component:multi-source-apps
version:2.12
Latest confirmed affected version is 2.12
Checklist:
argocd version
.Describe the bug
Getting errors when trying to sync multi source application depending on the order of sources specifed.
To Reproduce
Hi All,
I have a question regarding sync for multi source application, i have app defined as follows:
argocd app sync mirko-app1 --revisions multi-source --source-positions 1 FATA[0002] rpc error: code = FailedPrecondition desc = error resolving repo revision: rpc error: code = Unknown desc = invalid revision 'multi-source': improper constraint: multi-source
For position 2 it works
Now if i define application
mirko-app2
with sources in reverse order, where helm is now on 1st pos again I'm getting an error when trying to sync on 1st positionargocd app sync mirko-app2 --revisions 18.1.2 --source-positions 1 FATA[0003] rpc error: code = FailedPrecondition desc = error resolving repo revision: rpc error: code = Unknown desc = Unable to resolve '18.1.2' to a commit SHA
Expected behavior
Screenshots
Version
Logs
The text was updated successfully, but these errors were encountered: