Skip to content

[backport v2.15.1] Support setting of provisioning.cattle.io/management-cluster-name annotation #18148

Description

@rancher-ui-project-bot

This is a backport issue for #18147, automatically created via GitHub Actions workflow initiated by @richard-cox

Original issue body:

Is your feature request related to a problem? Please describe.

  • users can override the system created id of the managment.cattle.io.cluster resource that's created as a result of a provisioning.cattle.io.cluster being created
  • this is done by setting the provisioning.cattle.io.cluster annotation provisioning.cattle.io/management-cluster-name
  • this is viewed though as a system annotation and cannot be set in the ui

Describe the solution you'd like

  • when creating a provisioning.cattle.io.cluster allow the user to set the annotation
  • when viewing the detail page of that cluster, or editing it, users should be able to see it
  • when editing that cluster users should not be able to change it

Describe alternatives you've considered

  • this is more of an advanced feature, so a specific form field should be avoided

Additional context

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions