Using the 3.81.0 Helm chart, I have an Otel config in my values file, e.g.
...
otelCollector:
enabled: true
config: |-
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:9876 # use a random port to prove that it is using my config
...
When I render this, the ConfigMap is as I expect it -- I see my config, e.g. this is using port 9876:
However, when I install it, this is the config that is being passed to the otel-agent -- this YAML file appears to be identical to this config -- i.e. the port is 4317 (not 9876), it has a job_name: 'otel-collector', the comments match, and so on.
Using the 3.81.0 Helm chart, I have an Otel config in my values file, e.g.
When I render this, the
ConfigMap
is as I expect it -- I see my config, e.g. this is using port 9876:However, when I install it, this is the config that is being passed to the
otel-agent
-- this YAML file appears to be identical to this config -- i.e. the port is 4317 (not 9876), it has ajob_name: 'otel-collector'
, the comments match, and so on.I am currently testing with:
It's also not clear if the syntax in my values file should be this, which FWIW also does not seem to work: