The Vault Helm chart let’s you specify vault config, which will be stored in a ConfigMap https://github.com/hashicorp/vault-helm/blob/ee4e532159b023dece6d69ec58666cd50d85a47b/values.yaml#L436
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
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 (https://kubernetes.io/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/)
An example of this process can be seen here (https://www.datadoghq.com/blog/monitor-kubernetes-docker/#pass-the-nodes-ip-address-to-your-app)
How can I use an environment variable here, or have K8s template out
status.hostIP for each pod?