kubesphere icon indicating copy to clipboard operation
kubesphere copied to clipboard

DevOps project won't be deleted when delete Workspace.

Open undefine-man opened this issue 7 months ago • 3 comments

Describe the Bug DevOps project won't be deleted when delete Workspace. 删除企业空间时勾选“删除企业空间中的项目”不会把该项目内的DevOps项目一同删除。

Image

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:

  1. Create a Workspace named test. Image

  2. Create a DevOps Project in the Workspace. Image Image

  3. Delete the test Workspace. Image

  4. Recreate a Workspace named test. Image

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. Image

undefine-man avatar May 02 '25 23:05 undefine-man

@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.

stoneshi-yunify avatar May 08 '25 07:05 stoneshi-yunify

This problem is not found in 4.x. If this bug affects your use, @undefine-man you can consider upgrading to 4.x.

renyunkang avatar May 29 '25 06:05 renyunkang

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.

renyunkang avatar May 29 '25 07:05 renyunkang