Skip to content

[v16] Add reason and invited fields to SessionStartEvent#51176

Merged
rosstimothy merged 1 commit intobranch/v16from
tross/backport-51070/v16
Jan 20, 2025
Merged

[v16] Add reason and invited fields to SessionStartEvent#51176
rosstimothy merged 1 commit intobranch/v16from
tross/backport-51070/v16

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

Backport #51070 to branch/v16

Changelog: Include invited and reason fields in SessionStartEvents
Changelog: Add a flag to tsh kube exec to allow specifying the namespace outside of the Kubernetes context

Comment thread tool/tsh/common/kube.go
}

c.Flag("container", "Container name. If omitted, use the kubectl.kubernetes.io/default-container annotation for selecting the container to be attached or the first container in the pod will be chosen").Short('c').StringVar(&c.container)
c.Flag("kube-namespace", "Configure the default Kubernetes namespace.").Short('n').StringVar(&c.namespace)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: the namespace flag is intentionally omitted since #51076 will not be backported.

@rosstimothy rosstimothy force-pushed the tross/backport-51070/v16 branch from e69b6bd to dad7432 Compare January 17, 2025 15:19
In addition to adding the new fields and populating them, this
also updates tsh kube exec to include a --kube-namespace flag similar
to tsh kube login to make the command easier and more intuitive to use.

Closes #51019.
@rosstimothy rosstimothy force-pushed the tross/backport-51070/v16 branch from dad7432 to 3c88341 Compare January 17, 2025 15:20
@rosstimothy rosstimothy marked this pull request as ready for review January 17, 2025 15:30
@github-actions github-actions Bot added kubernetes-access size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Jan 17, 2025
@github-actions github-actions Bot requested review from Tener, r0mant and tigrato January 17, 2025 15:31
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from r0mant January 20, 2025 08:30
@rosstimothy rosstimothy added this pull request to the merge queue Jan 20, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jan 20, 2025
@rosstimothy rosstimothy added this pull request to the merge queue Jan 20, 2025
Merged via the queue into branch/v16 with commit 2cfed43 Jan 20, 2025
@rosstimothy rosstimothy deleted the tross/backport-51070/v16 branch January 20, 2025 12:35
@camscale camscale mentioned this pull request Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport kubernetes-access size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants