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?
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
andmountpoints
in thevalues.yaml
). But then the default configuration file (created from thevalues.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?