-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Multiple Sources Application doesn't work if source reference repository is not defined first #18264
Comments
we have currently the same issue with version 2.11.0.
Errors are the same |
I found a solution, add the non helm application as first one of the sources.
|
Thanks, it works for us as well, we started getting this error after upgrading the Helm chart version to 6.9.3. Another issue we experienced with this change is that we lost the application revision from the public Helm chart in the ArgoCD UI. |
I suppose this release has addressed the issue. However, I need to check if it works as expected. |
I don't face the same problem as described here. At least not in the version sources:
- repoURL: 'https://github.com/someorg/somerepo.git'
path: a-directory
targetRevision: 503336e76433866a4676e00b3cd560d1c6c93af4
helm:
valueFiles:
- $values/values.yaml
parameters:
- name: repository
value: somerepo
releaseName: some-release
- repoURL: 'https://github.com/someorg/values-source.git'
targetRevision: 7a734d47aef298f848b521332da0f7f8f35e2cfa
ref: values This app is working since ArgoCD |
I can confirm that this problem has been solved as of version thanks for all the help. I will close this Issue as it has been resolved. |
Checklist:
argocd version
.Describe the bug
While creating a multiple sources application with helm chart being hosted in Azure OCI container registry and values files are in GitLab (https://gitlab.com) I followed the process mentioned here.
Apply the manifest with
kubectl
kubectl apply -f test.yaml --validate='strict'
When Sync button is clicked the following error appears.
But if we change the position of the repositories in the
sources
list like below this works 👇To Reproduce
Apply the first manifest mentioned above and click
Sync
.Expected behavior
As the
ref
repository in the manifest doesn't havepath
specified, See here it should only be used for helm values and despite the position of the reference repository in the sources list, the application shouldsync
without error.Screenshots
Version
Logs
The text was updated successfully, but these errors were encountered: