diff --git a/website/content/commands/connect/envoy.mdx b/website/content/commands/connect/envoy.mdx index c23df68330..92be07970e 100644 --- a/website/content/commands/connect/envoy.mdx +++ b/website/content/commands/connect/envoy.mdx @@ -54,7 +54,8 @@ proxy configuration needed. - `-proxy-id` - The [proxy service](/docs/connect/registration/service-registration) ID. This service ID must already be registered with the local agent unless a gateway is being - registered with the `-register` flag. + registered with the `-register` flag. As of Consul 1.8.0, this can also be + specified via the `CONNECT_PROXY_ID` environment variable. - `-envoy-binary` - The full path to a specific Envoy binary to exec. By default the current `$PATH` is searched for `envoy`. @@ -110,6 +111,8 @@ proxy configuration needed. `proxy.destination_service_id` equal to the passed value must be present. If multiple proxy registrations targeting the same local service instance are present the command will error and `-proxy-id` should be used instead. + As of Consul 1.8.0, this can also be specified via the `CONNECT_SIDECAR_FOR` + environment variable. -> **Note:** If ACLs are enabled, a token granting `service:write` for the _target_ service (configured in `proxy.destination_service_name`) must be diff --git a/website/content/commands/connect/proxy.mdx b/website/content/commands/connect/proxy.mdx index 036e8a5887..0b7d19aec1 100644 --- a/website/content/commands/connect/proxy.mdx +++ b/website/content/commands/connect/proxy.mdx @@ -34,10 +34,12 @@ Usage: `consul connect proxy [options]` `proxy.destination_service_id` equal to the passed value must be present. If multiple proxy registrations targeting the same local service instance are present the command will error and `-proxy-id` should be used instead. + This can also be specified via the `CONNECT_SIDECAR_FOR` environment variable. - `-proxy-id` - The [proxy service](/docs/connect/registration/service-registration) ID on the - local agent. This must already be present on the local agent. + local agent. This must already be present on the local agent. This option + can also be specified via the `CONNECT_PROXY_ID` environment variable. - `-log-level` - Specifies the log level.