I'm trying to get DataDog metrics working for Traefik in Kubernetes, and my remaining problem is that I need to configure the node host IP in
metrics.datadog.address, but the only way I've found to get to that is via a an environment variable
status.hostIP, which I can use to compose an environment variable from,
TRAEFIK_METRICS_DATADOG_ADDRESS in this case.
But it's verbose to configure the entire static config using environment variables, so everything else is in a ConfigMap.
Now I was hoping that environment variables would be able to override or complement static configuration from file, but the docs mention that only one source of configuration will be considered.
So, am I forced to put everything in env vars?