influxdata / influxdata/helm-charts
telegraf: disable generation and use of configmap entirely (in favor of mounting a secret via volumes + mountpoints)?
Open
- Dominant language
- Mustache
- Stars
- 257
- Forks
- 347
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 9
Description
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?
Contributor guide
Assessment
This issue has not been assessed yet.