influxdata / influxdata/helm-charts

Unique template name

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

Description

If a proxy chart is created with two dependencies (telegraf-ds and telegraf), helm fails because template name (processors) in _helpers.tpl exists in both charts.

Helm documentation does address this:
> Defined templates (templates created inside a {{ define }} directive) are globally accessible. That means that a chart and all of its subcharts will have access to all of the templates created with {{ define }}.

Should this be changed to unique names?

Contributor guide

Open the contributing guide

Research direction

Start by locating the _helpers.tpl files for the proxy chart and its telegraf-ds and telegraf dependencies, then review the processors template definitions. Rename conflicting templates consistently and verify that installing a proxy chart with both dependencies succeeds without Helm template-name collisions.

Written by the indexing model from the issue text.

Assessment

Tech stack
helm
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.