Skip to content

Feature: ServiceProvider Offboarding #371

@christophrj

Description

@christophrj

Understand the problem

When a ServiceProvider transitions into Terminating, it has to cleanup its resources on the onboarding cluster. Additionally deletion has to be prevented as long as managed resources exist on any MCP cluster.

Context

The ServiceProvider API is managed by the openmcp-operator through an init job and deployment. The task of this ticket is to add a cleanup/offboarding job that cleans up any ServiceProvider resources on the onboarding cluster and prevents deletion as long as managed resources exist. This aligns naturally with the existing init job approach.

Proposal Acceptance Criteria

  • When a ServiceProvider is marked for deletion, the openmcp-operator creates cleanup job
  • The ServiceProvider resource and deployment is not deleted before the cleanup has been successful
  • Cleanup is part of the ServiceProvider template
  • Any existing ServiceProvider implements a cleanup job

How much traction does this feature have?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/open-mcpAll ManagedControlPlane related issueskind/feature-requestFeature request from any stakeholderneeds/validationVerify Issue and Prio with PO

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions