Skip to content

Add created-by annotation to ManagedControlPlane #44

@maximiliantech

Description

@maximiliantech

Description

On the resources Project and Workspace there is a webhook implemented which will add core.openmcp.cloud/created-by annotation to the resource on creation.

The resource then looks like this:

apiVersion: core.openmcp.cloud/v1alpha1
kind: Project
metadata:
  annotations:
    core.openmcp.cloud/created-by: user@example.com

This is missing for the ManagedControlPlane resource.

Goal

A webhook should add the core.openmcp.cloud/created-by on the ManagedControlPlane resource during CREATION time as well.

Tasks

  • Implement webhook.CustomDefaulter interface
  • ...

Acceptance Criteria

  • Code has been reviewed by other team members
  • New / changed code is documented
  • Unit Tests created for new code or existing Unit Tests updated
  • Integration Test Suite updated
  • Enduser Documentation updated (if applicable)
  • Successful demonstration in Review

Metadata

Metadata

Assignees

Labels

area/open-mcpAll ManagedControlPlane related issuesenhancementNew feature or requestgood first issueNew to this repo? This is a good place to start

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions