From b3dd6443f87160f2237cb21359125aa651268917 Mon Sep 17 00:00:00 2001 From: Zac Bergquist Date: Sun, 2 Jun 2024 08:35:26 -0600 Subject: [PATCH] Add --node-name to the teleport configure command (#42249) This only existed for teleport node configure and there's no reason why we can't support it for both. Closes #42127 --- tool/teleport/common/teleport.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tool/teleport/common/teleport.go b/tool/teleport/common/teleport.go index 03c6bf3a6cc77..70ee08cd00e7e 100644 --- a/tool/teleport/common/teleport.go +++ b/tool/teleport/common/teleport.go @@ -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)