DevOps project won't be deleted when delete Workspace.
Describe the Bug DevOps project won't be deleted when delete Workspace. 删除企业空间时勾选“删除企业空间中的项目”不会把该项目内的DevOps项目一同删除。
Versions Used KubeSphere: 3.4.1 Kubernetes: (If KubeSphere installer used, you can skip this)
Environment How many nodes and their hardware configuration:
For example: Debian 12.10.1 / 1 masters: 8cpu/8g;
How To Reproduce Steps to reproduce the behavior:
-
Create a Workspace named test.
-
Create a DevOps Project in the Workspace.
-
Delete the test Workspace.
-
Recreate a Workspace named test.
5.Switch to the DevOps project, you can see the DevOps project still in it.
Expected behavior
All project should be deleted when delete a project and check delete all project.
@renyunkang check if ks 4.x has this problem, devops project should be deleted as well with other namespaces.
@undefine-man Thanks for reporting this issue, but we may only fix this issue on ks 4.x.
This problem is not found in 4.x. If this bug affects your use, @undefine-man you can consider upgrading to 4.x.
This problem is not found in 4.x. If this bug affects your use, @undefine-man you can consider upgrading to 4.x.
However, version 4.x removed the related namespaces, but the DevOpsProject resources were not properly cleaned up.