Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tctl: allow creating desktops from YAML file
To date: we have supported registering desktops in a few ways: 1. By discovering them from LDAP 2. By listing "static hosts" in the configuration file 3. Via our API https://github.com/gravitational/teleport/tree/master/examples/desktop-registration This extends tctl to support creating a desktop from a YAML resource definition, which provides an alternative for those who want more control over the name and labels of their desktops, but don't want to write and maintain an integration using our API. Note: this also makes it possible to `tctl edit` an existing desktop, but we do not recommend doing so if the desktop was created via methods 1 or 2 above, as any changes will be overwritten on the next heartbeat. Closes #27106
- Loading branch information