influxdata / influxdata/helm-charts

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

Open
#606 0 comments 5 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.