Skip to content

Register Crossplane API kind at ServiceProvider.status #27

@maximiliantech

Description

@maximiliantech

What would you like to be added:
Service Provider Crossplane should add its own service instance type Crossplane to the ServiceProvider status.

Why is this needed:
In order to properly delete a ManagedControlPlane. The platform service for ManagedControlPlanes needs to know which other services might exists on the Onboarding API. For that, the platform service will look into ServiceProvider.status on the platform cluster to see which other services are available.

Task

  • register GVK at init job
apiVersion: openmcp.cloud/v1alpha1
kind: ServiceProvider
metadata:
  name: crossplane
spec:
  ...
status:
  ...
  resources:
    - group: crossplane.services.openmcp.cloud
      version: v1alpha1
      kind: Crossplane

Reference for implementation: openmcp-project/service-provider-landscaper#174

Metadata

Metadata

Assignees

Labels

area/open-mcpAll ManagedControlPlane related issuesgood first issueNew to this repo? This is a good place to start

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions