Skip to content

trusted_cluster resource renames itself, breaking subsequent updates #48309

Open

Description

Expected behaviour:

  • As a user I create a resource called clusterA while my remote cluster real name is clusterA.example.com
    Either I have a name mismatch error when I create the resource, or the resource name stays clusterA

Current behaviour:

  • The resource is renamed from clusterA to clusterA.example.com in the backend
  • I don't have a unique identifier to get the resource anymore
  • If I edit the role mapping and apply again for clusterA it silently drop my changes

Bug details:

  • Teleport version v16.4.2
  • Recreation steps: create a TC resource whose name is different than the root cluster name
  • Debug logs

Additional notes

  • this is blocking TC support in the operator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions