ArgoCD doesn't handle malformed yaml files gracefully #3527
Labels
bug/in-triage
This issue needs further triage to be correctly classified
bug
Something isn't working
Checklist:
argocd version
.Describe the bug
ArgoCD Application with auto-sync and pruning enabled. Someone checked in malformed yaml - indentations was wrong. ArgoCD silently-ish ignored that error and pruned the resources since it wasn't in "new state".
By silently ignored I mean the issue was only visible in logs and not in dashboard.
To Reproduce
Expected behavior
ArgoCD would not try to apply such changes if yaml file is malformed.
Version
Logs
The text was updated successfully, but these errors were encountered: