-
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
[v15] Add new tctl bots update
command
#37061
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This adds a new command to update roles and logins for existing bots, with flags to both set and append as desired. changelog: Add new `tctl bots update` command to update bot roles and logins
Also merges in some other misc docs changes for `tctl bots ...`
Co-authored-by: Paul Gottschling <[email protected]>
This switches to use the new `UpdateBot()` RPC instead of modifying the bot user and role directly. Also, tweaks CLI messaging to be a bit less chatty.
Co-authored-by: Hugo Shaka <[email protected]>
The set package adds a little extra functionality but is still missing various important functions, like subset/superset, difference, intersection, xor/symmetric difference, etc. This changes the API slightly, so the tctl command is updated to use the new package.
Removes the Set package and unrolls all related function calls in bots_command.
This also makes a minimal API wrapper interface for mocking.
Co-authored-by: Zac Bergquist <[email protected]>
github-actions
bot
requested review from
codingllama,
fheinecke,
hugoShaka,
jimbishopp,
ptgott,
rosstimothy,
strideynet and
zmb3
January 23, 2024 00:05
github-actions
bot
added
backport
documentation
size/md
tctl
tctl - Teleport admin tool
labels
Jan 23, 2024
🤖 Vercel preview here: https://docs-4cl2y63un-goteleport.vercel.app/docs/ver/preview |
strideynet
approved these changes
Jan 23, 2024
hugoShaka
approved these changes
Jan 23, 2024
ptgott
approved these changes
Jan 23, 2024
public-teleport-github-review-bot
bot
removed request for
jimbishopp,
zmb3,
codingllama,
fheinecke and
rosstimothy
January 23, 2024 19:05
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Jan 23, 2024
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Jan 24, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport #36496 to branch/v15
changelog: Add new
tctl bots update
command to update bot roles and logins