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

[v15] Update the helm command in the tctl tokens add output #50695

Merged
merged 1 commit into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions tool/tctl/common/kube_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions tool/tctl/common/token_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Loading