feat: add enable_helm input for helmCharts overlays#7
Conversation
Defaults to true so overlays using helmCharts: work out of the box. When true, fails fast if the helm binary is not on the runner. Threaded through to kustomize-inspect and kustomize-apply steps so helm-based overlays succeed end-to-end.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 2a2f6a9. Configure here.
| enable_helm: | ||
| description: 'Pass --enable-helm to kustomize build (requires helm binary on runner). When true, fails fast if helm is not installed.' | ||
| required: false | ||
| default: 'true' |
There was a problem hiding this comment.
Breaking default: enable_helm requires helm on all runners
High Severity
The new enable_helm input defaults to 'true', which is a backward-incompatible change. Previously no --enable-helm flag was passed and no helm binary was required. Now every existing user of this action will have the validation check at line 108 enforce that helm is on PATH, and --enable-helm will be appended to all kustomize build calls. Any runner (especially self-hosted) without helm installed will fail immediately, even for overlays that don't use helmCharts. The safe default is 'false' so existing workflows are unaffected and users opt in explicitly.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 2a2f6a9. Configure here.


Summary
enable_helminput (defaulttrue) that passes--enable-helmto allkustomize buildinvocations in this action.kustomize-inspectandkustomize-applysteps so helm-based overlays succeed end-to-end.Validate inputsifenable_helm: truebut thehelmbinary is not on the runner.Notes
enable_helmto the@v1of those actions is a no-op until the companion PRs are merged + retagged. Behavior of this PR alone is correct for the two internalkustomize buildcalls (detect mode, deployment plan summary).Test plan
helmCharts:with helm installed - detect, inspect, plan summary, and apply all succeed.enable_helm: falseon a non-helm overlay - behaves as before.enable_helm: trueon runner without helm - fails fast inValidate inputs.Note
Medium Risk
Changes the default
kustomize buildbehavior to pass--enable-helm(and now requireshelmon runners unless disabled), which can break existing pipelines that don't have helm installed. It also threads this flag into downstream inspect/apply steps, affecting end-to-end deployment execution.Overview
Adds a new
enable_helminput (defaulttrue) to support overlays usinghelmCharts:by passing--enable-helmto this action’s internalkustomize buildcalls (mode detection and plan summary).When
enable_helmis on, the action now fails fast during input validation if thehelmbinary is missing, and it forwardsenable_helmtoskyhook-io/kustomize-inspect@v1andskyhook-io/kustomize-apply@v1. Documentation is updated to describe the new input and its requirements.Reviewed by Cursor Bugbot for commit 2a2f6a9. Bugbot is set up for automated code reviews on this repo. Configure here.