Helmfile: Helmfile configuration with environment variables

Created on 9 Apr 2021  路  3Comments  路  Source: roboll/helmfile

I run my helmfile command like this:

helmfile -f myhelmfile.yaml apply --skip-deps

Is it possible to specify the location of the (and other configuration options) with environment variables, like so:

HELMFILE_FILE=myhelmfile.yaml
HELMFILE_SKIP_DEPS=1
helmfile apply
question

Most helpful comment

I'd prefer having some rule like https://www.terraform.io/docs/cli/config/environment-variables.html#tf_cli_args-and-tf_cli_args_name, for example HELMFILE_CLI_ARGS_apply="--skip-deps". Otherwise, I can easily get overloaded by sea of feature requests adding the equivalent envvar for every arg of every helmfile command!

All 3 comments

@ppawiggers Hey! Nope. Helmfile does not support specifying command-line options via envvars.

:+1: to HELMFILE_SKIP_DEPS=1 at least

I'd prefer having some rule like https://www.terraform.io/docs/cli/config/environment-variables.html#tf_cli_args-and-tf_cli_args_name, for example HELMFILE_CLI_ARGS_apply="--skip-deps". Otherwise, I can easily get overloaded by sea of feature requests adding the equivalent envvar for every arg of every helmfile command!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ivandardi picture ivandardi  路  3Comments

GoldenMouse picture GoldenMouse  路  3Comments

machine424 picture machine424  路  3Comments

aslafy-z picture aslafy-z  路  4Comments

mumoshu picture mumoshu  路  4Comments