-
Notifications
You must be signed in to change notification settings - Fork 187
Open
Description
After release 12.6.5290
, the entrypoint.sh
script doesn't seem to work in terms of placing values in conf.d
files bases on environment variables.
For example, 12.6.5290
dd-agent image places the KUBERNETES*
env values into /etc/dd-agent/conf.d/kubernetes.yaml
:
docker run --rm -it \
-e 'KUBERNETES=yes' \
-e 'KUBERNETES_COLLECT_EVENTS=yes' \
-e 'KUBERNETES_NAMESPACE_NAME_REGEX=blue' \
datadog/docker-dd-agent:12.6.5290 /bin/bash
root@0364e253be2d:/# cat /etc/dd-agent/conf.d/kubernetes.yaml | grep -v '#'
init_config:
instances:
- port: 4194
collect_events: true
namespace_name_regexp: blue
While in the next release, 12.6.5300
, it doesn't:
docker run --rm -it \
-e 'KUBERNETES=yes' \
-e 'KUBERNETES_COLLECT_EVENTS=yes' \
-e 'KUBERNETES_NAMESPACE_NAME_REGEX=blue' \
datadog/docker-dd-agent:12.6.5300 /bin/bash
root@6b9b1ab209a5:/# cat /etc/dd-agent/conf.d/kubernetes.yaml | grep -v '#'
init_config:
instances:
- port: 4194
Metadata
Metadata
Assignees
Labels
No labels