Skip to content

Commit

Permalink
Document new option and env variable
Browse files Browse the repository at this point in the history
* Also add missing documentation for `openssl-legacy-provider` option and env var
  • Loading branch information
hhromic committed Aug 15, 2023
1 parent 5d8719c commit f2c8028
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions website/cue/reference/cli.cue
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,14 @@ cli: {
description: env_vars.VECTOR_NO_GRACEFUL_SHUTDOWN_LIMIT.description
env_var: "VECTOR_NO_GRACEFUL_SHUTDOWN_LIMIT"
}
"openssl-legacy-provider": {
description: env_vars.VECTOR_OPENSSL_LEGACY_PROVIDER.description
env_var: "VECTOR_OPENSSL_LEGACY_PROVIDER"
}
"openssl-no-probe": {
description: env_vars.VECTOR_OPENSSL_NO_PROBE.description
env_var: "VECTOR_OPENSSL_NO_PROBE"
}
}

_core_config_options: {
Expand Down Expand Up @@ -149,6 +157,12 @@ cli: {
env_var: "VECTOR_GRACEFUL_SHUTDOWN_LIMIT_SECS"
type: "integer"
}
"graceful-shutdown-limit-secs": {
description: env_vars.VECTOR_GRACEFUL_SHUTDOWN_LIMIT_SECS.description
default: env_vars.VECTOR_GRACEFUL_SHUTDOWN_LIMIT_SECS.type.uint.default
env_var: "VECTOR_GRACEFUL_SHUTDOWN_LIMIT_SECS"
type: "integer"
}
}

// Reusable options
Expand Down Expand Up @@ -624,6 +638,14 @@ cli: {
description: "Never time out while waiting for graceful shutdown after SIGINT or SIGTERM received. This is useful when you would like for Vector to attempt to send data until terminated by a SIGKILL. Overrides/cannot be set with `--graceful-shutdown-limit-secs`."
type: bool: default: false
}
VECTOR_OPENSSL_LEGACY_PROVIDER: {
description: "Load the OpenSSL legacy provider."
type: bool: default: true
}
VECTOR_OPENSSL_NO_PROBE: {
description: "Disable probing and configuration of root certificate locations on the system for OpenSSL. The probe functionality manipulates the `SSL_CERT_FILE` and `SSL_CERT_DIR` environment variables in the Vector process. This behavior can be problematic for users of the `exec` source, which by default inherits the environment of the Vector process."
type: bool: default: false
}
}

// Helpers
Expand Down

0 comments on commit f2c8028

Please sign in to comment.