devtron
devtron copied to clipboard
All the Deleted Env of any cluster remain available in the the response of HelmEnvAutocomplete API
Summary All the Deleted Env of any cluster remain available in the the response of HelmEnvAutocomplete API
Steps to Replicate
- Go to Global Configurations
- Add an Environment in any cluster
- Now Delete this Environment
- Hit "/orchestrator/env/autocomplete/helm"
Current Output
We are getting all the Deleted Environments with envId=0 in the response of this API
Expected Output
Deleted Environment should not come in the response of this API