Checklist:
Describe the bug
When saving GitOps in global configurations, if we only try to Validate, it also shows that it's trying to save too but at backend it doesn't save which is confusing for the users
To Reproduce
- Setup a new devtron with cicd module
 
- In global configuration, enter gitops credentials and instead of saving - Click 
Validate 
- On UI it also shows that configurations are being Saved as loader runs on Save button too
 
Expected behavior
It should only validate the credentials but it seems like it also saves in database from which user thinks that it's done and he continues with App creation process
Current behavior
With this, the user isn't able to Save deployment template in the app as the GitOps Credentials were not saved in argocd-cm and secret and hence no GitOps which gets saved when we click save button in GitOps and then everything works fine