Checklist:
Describe the bug
If we update a token for any cluster, it throws response 500 error. It updates the token in database but doesn't update the token in respective secret of the cluster
To Reproduce
- Add a cluster to Devtron
- Generate a new token for the same cluster
- Update it in cluster configurations
Expected behavior
It should update the token and continue the normal functioning
Current behavior
It throws an error on update, then updates only in database but not in respective secret of the cluster