Skip to content

Implement v2 MCP Controller #210

@Diaphteiros

Description

@Diaphteiros

Understand the Task

Description
In v1, the user creates a single ManagedControlPlane resource which is then split up into multiple service components. This approach doesn't work with the extension concept of v2. Still, the idea is that a user first creates an ManagedControlPlane resource and then multiple service resources next to it.

We need a controller for the v2 variant of ManagedControlPlane, with the following properties:

  • The MCP resource contains authentication and authorization information (compare: Authentication and Authorization resources in v1).
  • The controller creates a ClusterRequest for the MCP and uses AccessRequests to ensure the configured authentication and authorization.
  • It must take care to not delete the corresponding Cluster before all services are gone, since we might otherwise leak resources.
  • The controller should be part of the openmcp-operator.

Any further valuable resources.

No response

What is required to accept the Task as done.

Done Criteria

  • Implement MCP controller.
  • Write unit tests.
  • Merge reviewed code into main.
  • Present in review.

Metadata

Metadata

Assignees

Labels

area/open-mcpAll ManagedControlPlane related issueskind/taskGeneral task that needs to be done.

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions