diff --git a/tool/tctl/common/kube_command.go b/tool/tctl/common/kube_command.go index cc00aed3ac8d7..12a9ce9d08f9c 100644 --- a/tool/tctl/common/kube_command.go +++ b/tool/tctl/common/kube_command.go @@ -128,10 +128,11 @@ helm repo update --set proxyAddr={{.auth_server}} \ --set authToken={{.token}} \ --create-namespace \ - --namespace=teleport-agent - + --namespace=teleport-agent \ + --version={{.version}} + Please note: - + - This invitation token will expire in {{.minutes}} minutes. - {{.auth_server}} must be reachable from Kubernetes cluster. - The token is usable in a standalone Linux server with kubernetes_service. diff --git a/tool/tctl/common/token_command.go b/tool/tctl/common/token_command.go index c11a64ce070cc..27e400602b92e 100644 --- a/tool/tctl/common/token_command.go +++ b/tool/tctl/common/token_command.go @@ -275,6 +275,7 @@ func (c *TokensCommand) Add(ctx context.Context, client *authclient.Client) erro "token": token, "minutes": c.ttl.Minutes(), "set_roles": setRoles, + "version": proxies[0].GetTeleportVersion(), }) case roles.Include(types.RoleApp): proxies, err := client.GetProxies()