Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v13] tctl: allow creating desktops from YAML file #27250

Merged
merged 1 commit into from Jun 2, 2023

Conversation

zmb3
Copy link
Collaborator

@zmb3 zmb3 commented Jun 1, 2023

Backport #27192 to branch/v13

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
@github-actions github-actions bot added backport size/sm tctl tctl - Teleport admin tool labels Jun 1, 2023
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from webvictim June 2, 2023 01:11
@zmb3 zmb3 added this pull request to the merge queue Jun 2, 2023
Merged via the queue into branch/v13 with commit 76ac605 Jun 2, 2023
22 checks passed
@zmb3 zmb3 deleted the bot/backport-27192-branch/v13 branch June 2, 2023 14:57
@r0mant r0mant mentioned this pull request Jul 14, 2023
@fheinecke fheinecke mentioned this pull request Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport size/sm tctl tctl - Teleport admin tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants