helmfile supports HELMFILE_* environment variables for more global flags
Introduced 2026-05-22 · score 0.95
HOW TO USE IT
When a workflow needs Helmfile global flag defaults, set the corresponding supported `HELMFILE_*` environment variable; for example, set `HELMFILE_NAMESPACE` before running `helmfile sync`.
HELMFILE_NAMESPACE=<namespace> helmfile syncHELMFILE_KUBE_CONTEXT=<context> helmfile syncHELMFILE_ENVIRONMENT=<environment> helmfile syncWHY THIS HELPS
Configure Helmfile's global flags through environment variables in a repository workflow.
REQUIREMENTS AND LIMITATIONS
- Version: v1.5.2
- HELMFILE_NAMESPACE: Sets the default namespace; `--namespace` overrides it.
- HELMFILE_KUBE_CONTEXT: Sets the default Kubernetes context; `--kube-context` overrides it.
- HELMFILE_ENVIRONMENT: Sets the Helmfile environment name; `--environment` overrides it.
- HELMFILE_HELM_BINARY: Sets the Helm binary path; `--helm-binary` overrides it.
- HELMFILE_KUSTOMIZE_BINARY: Sets the Kustomize binary path; `--kustomize-binary` overrides it.
- HELMFILE_LOG_LEVEL: Sets the log level; `--log-level` overrides it.
- HELMFILE_QUIET: Sets quiet mode; `--quiet` overrides it.
- HELMFILE_DEBUG: Sets debug mode; `--debug` overrides it.
- HELMFILE_NO_COLOR: Disables color output; `--no-color` overrides it. The CLI also recognizes `NO_COLOR`; precedence between the environment variables is not documented here.
- Prerequisite: Use Helmfile v1.5.2 or later for the release-note change.
FIRST-PARTY EVIDENCE
- https://github.com/helmfile/helmfile/releases/tag/v1.5.2
- https://raw.githubusercontent.com/helmfile/helmfile/v1.5.2/cmd/root.go
Check the installed version and the source before using it. Entry JSON