sincecutoff.com
← all changes

helmfile supports disabling hooks

Introduced 2026-07-17 · score 0.93

HOW TO USE IT

When Helmfile hook shell commands must be disabled, set `HELMFILE_DISABLE_HOOKS=true` for the Helmfile invocation. If hooks are configured while this setting is active, Helmfile returns an error instead of triggering them.

HELMFILE_DISABLE_HOOKS=true helmfile <command>

WHY THIS HELPS

Run Helmfile without executing hooks when hook shell commands should be disabled.

REQUIREMENTS AND LIMITATIONS

  • Version: v1.7.1
  • HELMFILE_DISABLE_HOOKS: Boolean environment variable parsed with Go `strconv.ParseBool`; when true, hook triggering is blocked if hooks are configured.
  • Prerequisite: Use Helmfile v1.7.1 or later; the setting is present in the v1.7.1 source.
  • Hooks can execute arbitrary shell commands.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card