Skip to content

Allow Deletion of managed resources in Control Plane #262

@GenosseOtt

Description

@GenosseOtt

Description

We allow users to create and delete, projects, WS, mcps...

Lets do the same for the resources the control plane holds.

Technical Tasks

  • Find out and create API request for resources deletion.
  • Add button in proper place and connect it to the API call (In YAML editor/another column in?)
  • Deletion confirmation modal
  • Refresh view after deletion (?)

Add Button or put behind the three dots to avoid accidental clicks
Image

Deletion Requests

Regular Delete

  • DELETE btp/subaccount resource

Force Delete

  • DELETE btp/subaccount resource
  • PATCH delete resource.metadata.finalizers field

Acceptance Criteria

  • Managed Resources (in a ManagedContolPlane) can be deleted via UI [Simple Trash Icon Button next to edit]
  • Deletion needs a Deletion Confirmation
  • End user can select (default: not selected) "delete finalizers as well" to allow force deletion (warning: may create orphans!)
  • Resource can be grayed out, change icon from processing to deletion (meta.deletionTimestamp!)
    https://kubernetes.io/docs/concepts/overview/working-with-objects/finalizers/

Out of scope

  • Force Deletion is not possible on Onboarding API (WS, Project, ManagedControlPlane) resources
  • Transaction guarantee on deletion

Metadata

Metadata

Labels

area/mcp-uiAll ManagedControlPlane UI related issues

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions