devtron icon indicating copy to clipboard operation
devtron copied to clipboard

Bug: Application is Deploying even after the deletion of the Namespace that was selected

Open anand-swrp opened this issue 3 months ago • 0 comments

📜 Description

We create an environment, and then use it for the application. Even after deleting the environment, the application is being deployed.

👟 Reproduction steps

  1. Go to Global Configuration and select Clusters & Environment.
  2. Under Cluster, add an Environment.
  3. Now create an Application on Devtron Dashboard and use the same Environment that you made.
  4. Now, go back to Clusters & Environment and delete the Environment.
  5. Now, go back to the application and perform CI & CD. The image is deployed.

👍 Expected behavior

It was expected that after deleting the environment, the CI/CD action shall not be performed. It should show some error.

👎 Actual Behavior

If we create an Application, and select a particular Environment. Later, if I delete the Environment from Global. The application is still deployed if we trigger it.

☸ Kubernetes version

1.23

Cloud provider

any

🌍 Browser

Chrome

🧱 Your Environment

QA

✅ Proposed Solution

NA

👀 Have you spent some time to check if this issue has been raised before?

  • [X] I checked and didn't find any similar issue

🏢 Have you read the Code of Conduct?

anand-swrp avatar May 06 '24 06:05 anand-swrp