Skip to content

[v9] UX improvements for tbot (#10833)#11046

Merged
timothyb89 merged 3 commits intobranch/v9from
timothyb89/v9/tbot-ux
Mar 11, 2022
Merged

[v9] UX improvements for tbot (#10833)#11046
timothyb89 merged 3 commits intobranch/v9from
timothyb89/v9/tbot-ux

Conversation

@timothyb89
Copy link
Copy Markdown
Contributor

Backport of #10833 for branch/v9


  • UX improvements for tbot

A last batch of UX tweaks for 9.0:

  • rename --renew-interval -> renewal-interval
  • add --oneshot mode to fetch one set of certs and exit (client
    side only, no server enforcement yet)
  • add tbot version
  • add unix signal handling: graceful exit on SIGINT, reload on
    SIGHUP/SIGUSR1
  • make auth server an optional config option and check it only when
    needed (i.e. tbot start)
  • Remove --auth-server flag from tbot init example

  • Add cut workaround to allow connecting to nodes without DNS

  • Update product name in tbot CLI help

  • Add --format=json support to tctl bots add

  • Detect OpenSSH version and conditionally remove the RSA deprecation workaround

  • Fix failing unit test after rename

  • Update tool/tbot/config/configtemplate_ssh.go

Co-authored-by: Zac Bergquist zmb3@users.noreply.github.com

  • Address review feedback

  • Apply suggestions from code review

Co-authored-by: Alan Parra alan.parra@goteleport.com

  • Document IncludeRSAWorkaround and address review comments

Co-authored-by: Zac Bergquist zmb3@users.noreply.github.com
Co-authored-by: Alan Parra alan.parra@goteleport.com

* UX improvements for tbot

A last batch of UX tweaks for 9.0:
 - rename --renew-interval -> renewal-interval
 - add `--oneshot` mode to fetch one set of certs and exit (client
   side only, no server enforcement yet)
 - add `tbot version`
 - add unix signal handling: graceful exit on SIGINT, reload on
   SIGHUP/SIGUSR1
 - make auth server an optional config option and check it only when
   needed (i.e. `tbot start`)

* Remove `--auth-server` flag from `tbot init` example

* Add `cut` workaround to allow connecting to nodes without DNS

* Update product name in tbot CLI help

* Add `--format=json` support to `tctl bots add`

* Detect OpenSSH version and conditionally remove the RSA deprecation workaround

* Fix failing unit test after rename

* Update tool/tbot/config/configtemplate_ssh.go

Co-authored-by: Zac Bergquist <zmb3@users.noreply.github.com>

* Address review feedback

* Apply suggestions from code review

Co-authored-by: Alan Parra <alan.parra@goteleport.com>

* Document IncludeRSAWorkaround and address review comments

Co-authored-by: Zac Bergquist <zmb3@users.noreply.github.com>
Co-authored-by: Alan Parra <alan.parra@goteleport.com>
@github-actions github-actions Bot requested review from codingllama, jakule and zmb3 March 10, 2022 22:39
@github-actions github-actions Bot added the tctl tctl - Teleport admin tool label Mar 10, 2022
@timothyb89 timothyb89 enabled auto-merge (squash) March 10, 2022 22:53
@timothyb89 timothyb89 merged commit b7a02a8 into branch/v9 Mar 11, 2022
@timothyb89 timothyb89 deleted the timothyb89/v9/tbot-ux branch March 11, 2022 00:43
@webvictim webvictim mentioned this pull request Apr 19, 2022
@webvictim webvictim mentioned this pull request Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport tctl tctl - Teleport admin tool

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants