From 6a771f33483294a47f2f319eb504aa59d7f26487 Mon Sep 17 00:00:00 2001 From: John Weldon Date: Tue, 2 Jul 2024 08:30:53 -0700 Subject: [PATCH] Code review feedback; better description of tlsfirst flag --- cmd/jetstream-controller/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/jetstream-controller/main.go b/cmd/jetstream-controller/main.go index 6afc4b50..e5635446 100644 --- a/cmd/jetstream-controller/main.go +++ b/cmd/jetstream-controller/main.go @@ -57,7 +57,7 @@ func run() error { cert := flag.String("tlscert", "", "NATS TLS public certificate") key := flag.String("tlskey", "", "NATS TLS private key") ca := flag.String("tlsca", "", "NATS TLS certificate authority chain") - tlsfirst := flag.Bool("tlsfirst", false, "If true, then NATS connections will be initiated with a TLS negotiation, rather than using a plain text / STARTTLS approach") + tlsfirst := flag.Bool("tlsfirst", false, "If enabled, forces explicit TLS without waiting for Server INFO") server := flag.String("s", "", "NATS Server URL") crdConnect := flag.Bool("crd-connect", false, "If true, then NATS connections will be made from CRD config, not global config") cleanupPeriod := flag.Duration("cleanup-period", 30*time.Second, "Period to run object cleanup")