Skip to content

[kube] Enhance tsh proxy kube output table with kubeconfig context name#47343

Merged
tigrato merged 2 commits intomasterfrom
tigrato/fix-kube-proxy-table
Oct 9, 2024
Merged

[kube] Enhance tsh proxy kube output table with kubeconfig context name#47343
tigrato merged 2 commits intomasterfrom
tigrato/fix-kube-proxy-table

Conversation

@tigrato
Copy link
Copy Markdown
Contributor

@tigrato tigrato commented Oct 8, 2024

This PR introduces a third column to the table shown by tsh proxy kube to include the information about the context name for the specified kubernetes clusters.

Changelog: Added kubeconfig context name to the output table of tsh proxy kube command for enhanced clarity.

…name

This PR introduces a third column to the table shown by `tsh proxy kube` to include the information about the context name for the specified kubernetes clusters.
Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
@github-actions github-actions Bot requested review from gzdunek and smallinsky October 8, 2024 15:37
@github-actions github-actions Bot added kubernetes-access size/sm tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Oct 8, 2024
Comment thread tool/tsh/common/kube_proxy.go Outdated
Co-authored-by: Noah Stride <noah.stride@goteleport.com>
@tigrato tigrato enabled auto-merge October 8, 2024 17:42
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from smallinsky October 9, 2024 10:34
@tigrato tigrato added this pull request to the merge queue Oct 9, 2024
Merged via the queue into master with commit d60da7c Oct 9, 2024
@tigrato tigrato deleted the tigrato/fix-kube-proxy-table branch October 9, 2024 10:53
@public-teleport-github-review-bot
Copy link
Copy Markdown

@tigrato See the table below for backport results.

Branch Result
branch/v14 Create PR
branch/v15 Create PR
branch/v16 Create PR

mvbrock pushed a commit that referenced this pull request Oct 16, 2024
…name (#47343)

* [kube] Enhance `tsh proxy kube` output table with kubeconfig context name

This PR introduces a third column to the table shown by `tsh proxy kube` to include the information about the context name for the specified kubernetes clusters.
Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>

* Update kube_proxy.go

Co-authored-by: Noah Stride <noah.stride@goteleport.com>

---------

Co-authored-by: Noah Stride <noah.stride@goteleport.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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