-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Refactor tbot #12855
Refactor tbot #12855
Conversation
e011bbf
to
0556a5d
Compare
It would be nice to get this reviewed and merged some time this week, as work on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a big improvement! I don't see any issues but did manage to find my own bug while testing, go figure: #13034
Anyway, just a few nitpicks. Thanks for being flexible with this!
dc43938
to
7ececda
Compare
7ececda
to
db428be
Compare
@strideynet See the table below for backport results.
|
* start refactoring tbot to have a core struct * refactor tbot into lib/ * move `tbot` subpackages to `lib/tbot` * remove mutex pointer * move `tshwrap` to `lib/` from `/tool/tbot/` * move new template ssh client render test to lib/ * address pr feedback * add request changed
* Demonstrate usage of `golden` for tbot template generation tests. (#12898) * Refactor tbot (#12855) * start refactoring tbot to have a core struct * refactor tbot into lib/ * move `tbot` subpackages to `lib/tbot` * remove mutex pointer * move `tshwrap` to `lib/` from `/tool/tbot/` * move new template ssh client render test to lib/ * address pr feedback * add request changed
Refactors tbot to:
lib/tbot
, preserving purely CLI functionality withintool/tbot
This is part of work on #10891, as it's currently difficult for the CA rotation watcher to interact with the auth client used by the renewal mechanism.