influxdata/helm-charts

telegraf: disable generation and use of configmap entirely (in favor of mounting a secret via volumes + mountpoints)?

ojkastl opened this issue · 0 comments

I am struggling to get my telegraf setup working. I have a Kubernetes secret that contains a valid telegraf configuration (not a configMap, as there are sensitive values like username/passwords and such).

I can mount this secret to /etc/telegraf.conf.d/something.conf (using the volumes and mountpoints in the values.yaml). But then the default configuration file (created from the values.yaml config option) still sets up things I do not need.

I got rid of most of it by using empty keys (e.g. outputs: {}), but is there a nice way to disable the config YAML-to-TOML conversion part?