Skip to content

Task: Namespace independent globally uniquie id (GUID) for MCPs #244

@reshnm

Description

@reshnm

Understand the Task

Description

Currently there is a GUID created for a MCP that is based on the name and namespace on the MCP.
With that GUID there are resources created and managed on the platform cluster.
The disadvantage is, that MCPs can't be moved from one namespace to another namespace because the GUID contains the namespace. It also limits the ability to merge MCPs from other onboarding clusters in the future.

To be more flexible in this regards a GUID that is independent of the name and namespace of a MCP is needed.
The GUID shall be part of the MCP spec and shall survive back-up-recovery operations.
The GUID is provided by the MCP controller when the MCP is being reconciled and there is no GUID already present.
The GUID shall have a human readable format and therefore shall consist of three words that are contained in a dictionary: <adjective>-<adjective>-<noun>

For resources created on the platform cluster, this 3 word format can be converted with a hash algorithm to fulfill the Kubernetes naming requirements.

Any further valuable resources.

No response

What is required to accept the Task as done.

Done Criteria

  • ...
  • Code has been reviewed by other team members
  • Internal technical Documentation created/updated
  • 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

No one assigned

    Labels

    area/open-mcpAll ManagedControlPlane related issueskind/taskGeneral task that needs to be done.needs/validationVerify Issue and Prio with PO

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions