You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of writing raw client key/cert into kubeconfig on tsh login, generate an exec plugin section.
This will cause kubectl to execute tsh (with configurable flags or env vars) to fetch the client key/cert. tsh should have some helper logic to generate that exec section in kubeconfig and also prompt login if credentials have expired.
Motivation
when user's credentials expire today, the user gets obscure x509 errors from kubectl; with exec plugin this can be changed to a login prompt or at least a helpful error message.
if a user only works with a fixed set of k8s clusters, they don't need to interact with tsh at all after initial setup.
Feature Request
Instead of writing raw client key/cert into kubeconfig on
tsh login
, generate an exec plugin section.This will cause
kubectl
to executetsh
(with configurable flags or env vars) to fetch the client key/cert.tsh
should have some helper logic to generate that exec section in kubeconfig and also prompt login if credentials have expired.Motivation
kubectl
; with exec plugin this can be changed to a login prompt or at least a helpful error message.tsh
at all after initial setup.Who's it for?
OSS User, Pro, Enterprise
cc @webvictim @benarent
The text was updated successfully, but these errors were encountered: