Skip to content

Update _helpers.tpl#2180

Open
dinyadin wants to merge 1 commit intoDataDog:mainfrom
dinyadin:patch-1
Open

Update _helpers.tpl#2180
dinyadin wants to merge 1 commit intoDataDog:mainfrom
dinyadin:patch-1

Conversation

@dinyadin
Copy link

The include function call is split across two lines, which Go templates do NOT allow and is treated as an unclosed action, hence the “unclosed action” meltdown from Helm. This was causing issue in datadog helm deployment with error

Error: UPGRADE FAILED: parse error at (datadog/templates/_helpers.tpl:540): unclosed action helm.go:81: [debug] parse error at (datadog/templates/_helpers.tpl:540): unclosed action

What this PR does / why we need it:

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

  • fixes #

Special notes for your reviewer:

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • Chart Version semver bump label added (use <chartName>/minor-version, <chartName>/patch-version, or <chartName>/no-version-bump)
  • For datadog or datadog-operator chart or value changes, update the test baselines (run: make update-test-baselines)

GitHub CI takes care of the below, but are still required:

  • Documentation has been updated with helm-docs (run: .github/helm-docs.sh)
  • CHANGELOG.md has been updated
  • Variables are documented in the README.md

The include function call is split across two lines, which Go templates do NOT allow and is treated as an unclosed action, hence the “unclosed action” meltdown from Helm. This was causing issue in datadog helm deployment with error 

Error: UPGRADE FAILED: parse error at (datadog/templates/_helpers.tpl:540): unclosed action helm.go:81: [debug] parse error at (datadog/templates/_helpers.tpl:540): unclosed action
@dinyadin dinyadin requested a review from a team as a code owner November 19, 2025 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant