Multiple sources: Values are not refreshed if in the same repository #12166
Labels
bug
Something isn't working
multi-source-apps
Bugs or enhancements related to multi-source Applications.
Checklist:
argocd version
.Describe the bug
When creating an application that has values referencing the same repository the application is declared in, the values are not refreshed along with the source repository.
To Reproduce
Repro repository: https://github.com/Azenet/argotest
Expected behavior
The deployment is updated with the new replicaCount
Actual behavior
The deployment is not updated and the validation error is not cleared. The invalid replica value can be seen in the app diff on the dashboard.
Workaround
Restarting the ArgoCD repo server and flushing the ArgoCD redis usually makes ArgoCD realize there's something to sync, although it will sometimes not auto-sync it even if auto-sync is enabled.
Version
Logs
No relevant logs were found.
Thank you for any help!
The text was updated successfully, but these errors were encountered: