Repository navigation
Conversation
lbarrosby
requested review from
aditmeno,
itscaro,
mumoshu,
xiaomudk,
yxxhero and
zhaque44
as code owners
November 8, 2026 10:50
…hooks docs/templating.md documented HELMFILE_SKIP_INSECURE_TEMPLATE_FUNCTIONS, which nothing reads. The code reads HELMFILE_DISABLE_INSECURE_TEMPLATE_FUNCTIONS (pkg/envvar/const.go, pkg/tmpl/context_funcs.go). HELMFILE_DISABLE_HOOKS (pkg/event/bus.go) was not documented at all. Signed-off-by: Lucas Barros <[email protected]>
yxxhero
force-pushed
the
docs/fix-insecure-template-functions-env-var
branch
from
November 8, 2026 12:41
50570dd to
615b61d
Compare
yxxhero
approved these changes
Nov 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The "Useful internal Helmfile environment variables" list in
docs/templating.mddocumentsHELMFILE_SKIP_INSECURE_TEMPLATE_FUNCTIONS, but nothing reads that name. The variable the code reads isHELMFILE_DISABLE_INSECURE_TEMPLATE_FUNCTIONS:pkg/tmpl/context_funcs.gouses it to makeexec,envExec,readFile,readDirandreadDirEntriesreturn an error. The old name only appears indocs/proposals/towards-1.0.md, as the option to remove.HELMFILE_DISABLE_HOOKS(pkg/event/bus.go:Triggerreturns "HELMFILE_DISABLE_HOOKS is active, hooks are disabled" when a hook is configured) was not documented, so it is added to the same list.Docs only; no code change.