From 6c462d399bc9319afdb556406d01a1647b68634f Mon Sep 17 00:00:00 2001 From: Blake Covarrubias Date: Wed, 21 Jul 2021 10:43:10 -0700 Subject: [PATCH] cli: Document pass-through option for `consul connect envoy` (#10666) Update help text of `consul connect envoy` command to mention the ability to provide pass-through options. --- command/connect/envoy/envoy.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/command/connect/envoy/envoy.go b/command/connect/envoy/envoy.go index d1c23f6dde..a94a61d974 100644 --- a/command/connect/envoy/envoy.go +++ b/command/connect/envoy/envoy.go @@ -662,7 +662,7 @@ func (c *cmd) Help() string { const synopsis = "Runs or Configures Envoy as a Connect proxy" const help = ` -Usage: consul connect envoy [options] +Usage: consul connect envoy [options] [-- pass-through options] Generates the bootstrap configuration needed to start an Envoy proxy instance for use as a Connect sidecar for a particular service instance. By default it @@ -684,4 +684,8 @@ Usage: consul connect envoy [options] $ consul connect envoy -sidecar-for web + Additional arguments may be passed directly to Envoy by specifying a double + dash followed by a list of options. + + $ consul connect envoy -sidecar-for web -- --log-level debug `