Skip to content

GitOps validate button shows that it's also saving the configuration but it doesn't #1592

@dheeth

Description

@dheeth

Checklist:

  • I've searched in the docs and FAQ for my answer
  • I've included steps to reproduce the bug.

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

  1. Setup a new devtron with cicd module
  2. In global configuration, enter gitops credentials and instead of saving - Click Validate
  3. 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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions