Skip to content

Commit

Permalink
Add --node-name to the teleport configure command (#42249)
Browse files Browse the repository at this point in the history
This only existed for teleport node configure and there's no
reason why we can't support it for both.

Closes #42127
  • Loading branch information
zmb3 authored Jun 2, 2024
1 parent c67b110 commit b3dd644
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tool/teleport/common/teleport.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ func Run(options Options) (app *kingpin.Application, executedCommand string, con
dump.Flag("proxy", "Address of the proxy.").StringVar(&dumpFlags.ProxyAddress)
dump.Flag("app-name", "Name of the application to start when using app role.").StringVar(&dumpFlags.AppName)
dump.Flag("app-uri", "Internal address of the application to proxy.").StringVar(&dumpFlags.AppURI)
dump.Flag("node-name", "Name for the Teleport node.").StringVar(&dumpFlags.NodeName)
dump.Flag("node-labels", "Comma-separated list of labels to add to newly created nodes, for example env=staging,cloud=aws.").StringVar(&dumpFlags.NodeLabels)

ver.Flag("raw", "Print the raw teleport version string.").BoolVar(&rawVersion)
Expand Down

0 comments on commit b3dd644

Please sign in to comment.