influxdata / influxdata/helm-charts

How to define single bracelet parameters in helm values

Open
#761 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Mustache
Stars
257
Forks
347
Avg merge
4d 20h
Merged PRs (30d)
9

Description

How to define values file so that the Telegraf conf will have following row
`tags = {tag1 = "foo", tag2 = "bar"}
`

When i define it in Helm values like following :
`tags: '{tag1 = "foo", tag2 = "bar"}'`

result will be

`tags = "{ \"foo\", tag2 = \"bar\" }"`

and telegraf will throw error

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the Helm values are rendered into the Telegraf configuration, using helm template to compare the supplied value with the generated row. The work is done when a values definition produces the requested tags table without Telegraf reporting a configuration error.

Written by the indexing model from the issue text.

Assessment

Tech stack
helm, yaml
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.