For the complete documentation index, see llms.txt. This page is also available as Markdown.

Configuring Environment Variables

Configure environment variables for Connectware and Connectware agent components using the connectware and connectware-agent Helm charts.

Both the connectware and connectware-agent Helm charts let you set environment variables on containers using an env list of name and value pairs. Use this to pass runtime configuration that has no dedicated Helm value.

When to Use

Use environment variables when you need to:

  • Pass custom configuration flags not exposed as dedicated Helm values, such as debug options or feature toggles.

  • Set an application-specific configuration.

Configuration Values

The following Helm values control environment variables for each chart.

Value
Description

${COMPONENT_NAME}.env

Environment variables injected into the component's container.

Setting Environment Variables

Set environment variables on each component individually. The connectware Helm chart does not provide a global env setting that applies to all Connectware components at once. To add environment variables to a component, set the env list under that component's configuration section.

The following example sets an environment variable on the authServer component:

values.yaml
# Note: 'authServer' is used as an example, but this configuration
# is applicable to any Connectware component.
authServer:
  env:
    - name: MY_CUSTOM_VAR
      value: 'custom-value'

The environment variable is injected only into the authServer container. All other components are unaffected.

Applying Configuration Changes

After editing your values.yaml file, apply the changes by running the helm upgrade command. For details, see Applying Helm Configuration Changes.

Last updated

Was this helpful?