How to specify environment variables in Vault config with Helm?

The Vault Helm chart let’s you specify vault config, which will be stored in a ConfigMap

I would like to use an environment variable in a stanza here. In particular, I want to report telemetry to statsd with the following config
telemetry {
statsd_address = “:8125”
This assumes a statd listener is running as a DaemonSet on the cluster and is in the HostNetwork. The nodeIP can be retrieved using the Kubernetes downward API (

An example of this process can be seen here (

How can I use an environment variable here, or have K8s template out status.hostIP for each pod?

This is resolved. Looks like the Vault Helm chart will sed replace certain envs in config. More info here