Repository navigation
feat: support disabling hooks - #2691
Conversation
There was a problem hiding this comment.
Pull request overview
This PR introduces an environment-variable switch (HELMFILE_DISABLE_HOOKS) to prevent Helmfile hook execution (hooks can run arbitrary shell commands), aligning with Helmfile’s existing “disable insecure behavior” patterns.
Changes:
- Adds
HELMFILE_DISABLE_HOOKSconstant underpkg/envvar. - Introduces a package-level
disableHooksflag in the event bus and blocks hook triggering when enabled. - Adds a unit test intended to verify hook triggering is blocked when hooks are disabled.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| pkg/event/bus.go | Adds env-var driven switch to block hook triggering. |
| pkg/event/bus_test.go | Adds a test for the “hooks disabled” behavior. |
| pkg/envvar/const.go | Defines the new HELMFILE_DISABLE_HOOKS env var name constant. |
| func init() { | ||
| disableHooks, _ = strconv.ParseBool(os.Getenv(envvar.DisableHooks)) | ||
| } |
| func (bus *Bus) Trigger(evt string, evtErr error, context map[string]any) (bool, error) { | ||
| if disableHooks { | ||
| return false, fmt.Errorf("%s is active, hooks are disabled", envvar.DisableHooks) | ||
| } |
| func TestTrigger_DisabledHooks(t *testing.T) { | ||
| currentVal := disableHooks | ||
|
|
||
| { | ||
| disableHooks = true | ||
| bus := &Bus{} | ||
| _, err := bus.Trigger("foo", nil, nil) | ||
| require.ErrorIs(t, err, "HELMFILE_DISABLE_HOOKS is active, hooks are disabled") | ||
| } | ||
|
|
||
| disableHooks = currentVal | ||
| } |
68f0c0b to
5cd0b63
Compare
5cd0b63 to
15fa7c1
Compare
15fa7c1 to
d465cbb
Compare
| func (bus *Bus) Trigger(evt string, evtErr error, context map[string]any) (bool, error) { | ||
| if disableHooks && len(bus.Hooks) > 0 { | ||
| return false, fmt.Errorf("%s is active, hooks are disabled", envvar.DisableHooks) | ||
| } |
There was a problem hiding this comment.
The disable-hooks guard triggers whenever bus.Hooks is non-empty, even if none of the hooks apply to the current evt (i.e., no hook.Events contains evt). Since Trigger already filters hooks by event, this can cause unexpected failures (e.g., a release defines only "presync" hooks but calling Trigger("preapply", ...) now errors). Consider only blocking (or skipping) hooks that would match the current evt, rather than failing purely on hook presence.
@yxxhero do you think it's worth it to move the if into the for loop after the contained check?
| func TestTrigger_DisabledHooks(t *testing.T) { | ||
| currentVal := disableHooks | ||
|
|
||
| { | ||
| disableHooks = true | ||
| bus := &Bus{Hooks: []Hook{{}}} | ||
| _, err := bus.Trigger("foo", nil, nil) | ||
| require.EqualError(t, err, "HELMFILE_DISABLE_HOOKS is active, hooks are disabled") | ||
| } | ||
|
|
||
| disableHooks = currentVal | ||
| } |
| func TestTrigger_DisabledHooksWithEmptyHooks(t *testing.T) { | ||
| currentVal := disableHooks | ||
|
|
||
| { | ||
| disableHooks = true | ||
| bus := &Bus{} | ||
| _, err := bus.Trigger("foo", nil, nil) | ||
| require.NoError(t, err) | ||
| } | ||
|
|
||
| disableHooks = currentVal | ||
| } |
|
@fabiobaiao ping |
fabiobaiao
left a comment
There was a problem hiding this comment.
I haven't addressed the comments regarding the tests because I'm following the same approach that was taken on the "disable insecure features":
helmfile/pkg/tmpl/context_funcs_test.go
Lines 17 to 47 in cfe4f87
Do you want me to address them?
| func (bus *Bus) Trigger(evt string, evtErr error, context map[string]any) (bool, error) { | ||
| if disableHooks && len(bus.Hooks) > 0 { | ||
| return false, fmt.Errorf("%s is active, hooks are disabled", envvar.DisableHooks) | ||
| } |
There was a problem hiding this comment.
The disable-hooks guard triggers whenever bus.Hooks is non-empty, even if none of the hooks apply to the current evt (i.e., no hook.Events contains evt). Since Trigger already filters hooks by event, this can cause unexpected failures (e.g., a release defines only "presync" hooks but calling Trigger("preapply", ...) now errors). Consider only blocking (or skipping) hooks that would match the current evt, rather than failing purely on hook presence.
@yxxhero do you think it's worth it to move the if into the for loop after the contained check?
|
@fabiobaiao ok. got it. |
Signed-off-by: fabiobaiao <[email protected]>
d465cbb to
737f0bc
Compare
…278) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [aqua:helmfile/helmfile](https://github.com/helmfile/helmfile) | tools | patch | `1.7.0` → `1.7.4` | --- >⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/141) for more information. --- ### Release Notes <details> <summary>helmfile/helmfile (aqua:helmfile/helmfile)</summary> ### [`v1.7.4`](https://github.com/helmfile/helmfile/releases/tag/v1.7.4) [Compare Source](helmfile/helmfile@v1.7.3...v1.7.4) #### What's Changed - build(deps): bump github.com/sashabaranov/go-openai from 1.41.2 to 1.42.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2735](helmfile/helmfile#2735) - build(deps): bump gitpython from 3.1.57 to 3.1.58 in /docs by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2737](helmfile/helmfile#2737) - build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.106.3 to 1.106.4 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2736](helmfile/helmfile#2736) - build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.106.4 to 1.107.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2740](helmfile/helmfile#2740) - build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.34 to 1.32.35 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2739](helmfile/helmfile#2739) - fix([#​2741](helmfile/helmfile#2741)): prefetch shared remote charts instead of serializing sync by [@​toms-place](https://github.com/toms-place) in [#​2743](helmfile/helmfile#2743) - build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.107.0 to 1.107.1 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2744](helmfile/helmfile#2744) - build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.35 to 1.32.36 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2745](helmfile/helmfile#2745) - Bumping Helm versions to 3.21.4 and 4.2.4 by [@​yxxhero](https://github.com/yxxhero) with [@​Copilot](https://github.com/Copilot) in [#​2746](helmfile/helmfile#2746) - refactor: drop empty-render workaround now that chartify handles it natively by [@​yxxhero](https://github.com/yxxhero) in [#​2747](helmfile/helmfile#2747) #### New Contributors - [@​toms-place](https://github.com/toms-place) made their first contribution in [#​2743](helmfile/helmfile#2743) **Full Changelog**: <helmfile/helmfile@v1.7.3...v1.7.4> ### [`v1.7.3`](https://github.com/helmfile/helmfile/releases/tag/v1.7.3) [Compare Source](helmfile/helmfile@v1.7.2...v1.7.3) #### What's Changed - build(deps): bump docker/login-action from 4 to 4.5.2 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2723](helmfile/helmfile#2723) - fix: skip chartification when chart renders zero resources by [@​ankit090701](https://github.com/ankit090701) in [#​2724](helmfile/helmfile#2724) - feat: add --skip-diff-validation-on-install CLI flag by [@​henrichter-sap](https://github.com/henrichter-sap) in [#​2728](helmfile/helmfile#2728) - bump helm-diff to v3.15.11 by [@​yxxhero](https://github.com/yxxhero) with [@​Copilot](https://github.com/Copilot) in [#​2725](helmfile/helmfile#2725) - fix: update helm plugins via uninstall+reinstall to honor pinned version by [@​yxxhero](https://github.com/yxxhero) in [#​2727](helmfile/helmfile#2727) - build(deps): bump docker/login-action from 4.5.2 to 4.6.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2729](helmfile/helmfile#2729) - build(deps): bump gitpython from 3.1.54 to 3.1.57 in /docs by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2730](helmfile/helmfile#2730) - build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.106.2 to 1.106.3 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2731](helmfile/helmfile#2731) - build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.31 to 1.32.34 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2732](helmfile/helmfile#2732) - build(deps): bump github.com/helmfile/chartify from v0.28.0 to v0.28.1 by [@​yxxhero](https://github.com/yxxhero) in [#​2733](helmfile/helmfile#2733) #### New Contributors - [@​ankit090701](https://github.com/ankit090701) made their first contribution in [#​2724](helmfile/helmfile#2724) - [@​henrichter-sap](https://github.com/henrichter-sap) made their first contribution in [#​2728](helmfile/helmfile#2728) **Full Changelog**: <helmfile/helmfile@v1.7.2...v1.7.3> ### [`v1.7.2`](https://github.com/helmfile/helmfile/releases/tag/v1.7.2) [Compare Source](helmfile/helmfile@v1.7.1...v1.7.2) #### What's Changed - build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.105.1 to 1.105.2 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2707](helmfile/helmfile#2707) - build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.30 to 1.32.31 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2708](helmfile/helmfile#2708) - build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.105.2 to 1.106.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2709](helmfile/helmfile#2709) - build(deps): bump google.golang.org/grpc from 1.82.0 to 1.82.1 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2711](helmfile/helmfile#2711) - build(deps): bump gitpython from 3.1.50 to 3.1.52 in /docs by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2710](helmfile/helmfile#2710) - feat: add --repo-retries for helm repo and registry login commands by [@​yxxhero](https://github.com/yxxhero) in [#​2683](helmfile/helmfile#2683) - build(deps): bump github.com/helmfile/vals from 0.44.5 to 0.45.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2713](helmfile/helmfile#2713) - build(deps): bump github.com/mattn/go-runewidth from 0.0.24 to 0.0.27 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2714](helmfile/helmfile#2714) - build(deps): bump gitpython from 3.1.52 to 3.1.54 in /docs by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2715](helmfile/helmfile#2715) - build(deps): bump go.yaml.in/yaml/v3 from 3.0.4 to 3.0.5 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2716](helmfile/helmfile#2716) - build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.106.0 to 1.106.2 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2719](helmfile/helmfile#2719) - feat: support Helm 4 --rollback-on-failure alongside deprecated --atomic by [@​yxxhero](https://github.com/yxxhero) in [#​2722](helmfile/helmfile#2722) **Full Changelog**: <helmfile/helmfile@v1.7.1...v1.7.2> ### [`v1.7.1`](https://github.com/helmfile/helmfile/releases/tag/v1.7.1) [Compare Source](helmfile/helmfile@v1.7.0...v1.7.1) #### What's Changed - build(deps): bump github.com/zclconf/go-cty from 1.18.1 to 1.19.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2692](helmfile/helmfile#2692) - build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.27 to 1.32.28 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2693](helmfile/helmfile#2693) - build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.104.2 to 1.105.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2694](helmfile/helmfile#2694) - build(deps): bump golang.org/x/sync from 0.21.0 to 0.22.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2695](helmfile/helmfile#2695) - build(deps): bump golang.org/x/term from 0.44.0 to 0.45.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2696](helmfile/helmfile#2696) - chore: bump helm to v4.2.3 and v3.21.3 by [@​yxxhero](https://github.com/yxxhero) in [#​2699](helmfile/helmfile#2699) - feat: center section divider to match table width by [@​yxxhero](https://github.com/yxxhero) in [#​2698](helmfile/helmfile#2698) - build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.28 to 1.32.29 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2697](helmfile/helmfile#2697) - build(deps): bump github.com/mattn/go-runewidth from 0.0.19 to 0.0.24 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2700](helmfile/helmfile#2700) - docs: add OCI auth troubleshooting by [@​dashitongzhi](https://github.com/dashitongzhi) in [#​2679](helmfile/helmfile#2679) - fix: ensure OCI registry login when SkipRepos is set by [@​yxxhero](https://github.com/yxxhero) in [#​2701](helmfile/helmfile#2701) - build(deps): bump github.com/helmfile/chartify from 0.27.0 to 0.28.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2702](helmfile/helmfile#2702) - build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.105.0 to 1.105.1 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2703](helmfile/helmfile#2703) - build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.29 to 1.32.30 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2704](helmfile/helmfile#2704) - feat: support disabling hooks by [@​fabiobaiao](https://github.com/fabiobaiao) in [#​2691](helmfile/helmfile#2691) - build(deps): bump github.com/helmfile/vals from 0.44.4 to 0.44.5 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2706](helmfile/helmfile#2706) - build(deps): bump actions/setup-go from 6 to 7 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​2705](helmfile/helmfile#2705) - feat: support disabling insecure template functions only by [@​fabiobaiao](https://github.com/fabiobaiao) in [#​2689](helmfile/helmfile#2689) #### New Contributors - [@​dashitongzhi](https://github.com/dashitongzhi) made their first contribution in [#​2679](helmfile/helmfile#2679) - [@​fabiobaiao](https://github.com/fabiobaiao) made their first contribution in [#​2691](helmfile/helmfile#2691) **Full Changelog**: <helmfile/helmfile@v1.7.0...v1.7.1> </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/London) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNjAuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjQ2LjUiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbInR5cGUvcGF0Y2giXX0=--> Reviewed-on: https://forgejo.hayden.moe/hayden/phoebe/pulls/278
helmfile 1.7.1 Created-by: HarmonybrewBot Commit-by: HarmonybrewBot Merged-by: HarmonybrewBot Description: Created by `brew bump` --- Created with `brew bump-formula-pr`.<details> <summary>release notes</summary> <pre>## What's Changed * build(deps): bump github.com/zclconf/go-cty from 1.18.1 to 1.19.0 by @dependabot[bot] in helmfile/helmfile#2692 * build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.27 to 1.32.28 by @dependabot[bot] in helmfile/helmfile#2693 * build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.104.2 to 1.105.0 by @dependabot[bot] in helmfile/helmfile#2694 * build(deps): bump golang.org/x/sync from 0.21.0 to 0.22.0 by @dependabot[bot] in helmfile/helmfile#2695 * build(deps): bump golang.org/x/term from 0.44.0 to 0.45.0 by @dependabot[bot] in helmfile/helmfile#2696 * chore: bump helm to v4.2.3 and v3.21.3 by @yxxhero in helmfile/helmfile#2699 * feat: center section divider to match table width by @yxxhero in helmfile/helmfile#2698 * build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.28 to 1.32.29 by @dependabot[bot] in helmfile/helmfile#2697 * build(deps): bump github.com/mattn/go-runewidth from 0.0.19 to 0.0.24 by @dependabot[bot] in helmfile/helmfile#2700 * docs: add OCI auth troubleshooting by @dashitongzhi in helmfile/helmfile#2679 * fix: ensure OCI registry login when SkipRepos is set by @yxxhero in helmfile/helmfile#2701 * build(deps): bump github.com/helmfile/chartify from 0.27.0 to 0.28.0 by @dependabot[bot] in helmfile/helmfile#2702 * build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.105.0 to 1.105.1 by @dependabot[bot] in helmfile/helmfile#2703 * build(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.32.29 to 1.32.30 by @dependabot[bot] in helmfile/helmfile#2704 * feat: support disabling hooks by @fabiobaiao in helmfile/helmfile#2691 * build(deps): bump github.com/helmfile/vals from 0.44.4 to 0.44.5 by @dependabot[bot] in helmfile/helmfile#2706 * build(deps): bump actions/setup-go from 6 to 7 by @dependabot[bot] in helmfile/helmfile#2705 * feat: support disabling insecure template functions only by @fabiobaiao in helmfile/helmfile#2689 ## New Contributors * @dashitongzhi made their first contribution in helmfile/helmfile#2679 * @fabiobaiao made their first contribution in helmfile/helmfile#2691 **Full Changelog**: https://github.com/helmfile/helmfile/compare/v1.7.0...v1.7.1</pre> <p>View the full release notes at <a href="https://github.com/helmfile/helmfile/releases/tag/v1.7.1">https://github.com/helmfile/helmfile/releases/tag/v1.7.1</a>.</p> </details> <hr> See merge request: Harmonybrew/homebrew-core!14477
Adds support to disable hooks, since they allow execution of arbitrary shell commands
Closes #2690