-
Notifications
You must be signed in to change notification settings - Fork 107
Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
AKO Version
v2.11.0
Distribution
Kubernetes
Kubernetes Version
v1.32
Current Behavior
When attempting to delete a team that’s currently assigned to any project, shows an error:
{"level":"WARN","time":"2025-11-06T18:50:26.158Z","msg":"team ai-corp-devops is assigned to a project. Remove it from all projects before delete","atlasteam":"ai-corp/ai-corp-devops"}
While this behavior might be intentional, it makes automation and reconciliation flows difficult — for example, if a team CR is marked for deletion in GitOps, the operator or user has to manually unassign it from projects before deletion.
Custom Resources to reproduce the issue
{"level":"WARN","time":"2025-11-06T18:50:26.158Z","msg":"team ai-corp-devops is assigned to a project. Remove it from all projects before delete","atlasteam":"ai-corp/ai-corp-devops"}Steps To Reproduce
1. Create a team (e.g., DevOps).
2. Assign it to a project.
3. Attempt to delete the team via UI or CR deletion.
4. Observe the error in operator
Logs
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels