Skip to content

Allow adding labels to ManagedCluster during registration #1195

@arturshadnik

Description

@arturshadnik

Describe the enhancement
Similar to the ability to add annotations to a ManagedCluster by setting klusterletChartConfig.Klusterlet.RegistrationConfiguration.ClusterAnnotations when creating a Klusterlet, it would be very useful to be able to add labels in the same way.

One usecase for this is the ability to automatically assign/exclude new ManagedClusters to a ManagedClusterSet by using label selectors. Right now, a manual step is required to add the desired label after the ManagedCluster is created.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions