Skip to content
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

tsh kube credentials should not open browser when invoked from a kube gui #22494

Closed
programmerq opened this issue Mar 1, 2023 · 1 comment · Fixed by #26102
Closed

tsh kube credentials should not open browser when invoked from a kube gui #22494

programmerq opened this issue Mar 1, 2023 · 1 comment · Fixed by #26102
Assignees
Labels
bug c-cr Internal Customer Reference kubernetes-access tsh tsh - Teleport's command line tool for logging into nodes running Teleport.

Comments

@programmerq
Copy link
Contributor

programmerq commented Mar 1, 2023

Expected behavior:

When using kube access in conjunction with a tool like lens, the GUI will continually attempt to connect to the cluster, even if the user locks the screen. When the tsh session expires, it should not try to pop open the browser, but instead simply fail. When using a Teleport local user, this is the effective behavior. The tsh kube credential command simply fails because the current credential isn't valid, and it can't prompt the user for their password.

Current behavior:

When using a SAML or OIDC connector, lens can invoke tsh kube credentials dozens of times, creating dozenos of browser tabs overnight.

Bug details:

  • Teleport version - n/a
  • Recreation steps - open lens and connect to a cluster via teleport kube access. let the tsh session expire, and leave lens open.
  • Debug logs - n/a

image (3)

@programmerq programmerq added bug kubernetes-access tsh tsh - Teleport's command line tool for logging into nodes running Teleport. c-cr Internal Customer Reference labels Mar 1, 2023
@stevenGravy
Copy link
Contributor

same as #9450

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug c-cr Internal Customer Reference kubernetes-access tsh tsh - Teleport's command line tool for logging into nodes running Teleport.
Projects
None yet
4 participants