Use these subcommands to run helmfile commands.
Usage
The helmfile integration passes through all arguments to the helmfile command.
Executes helmfile commands.
atmos helmfile <command> <component> -s <stack> [options]
atmos helmfile <command> <component> --stack <stack> [options]
Atmos supports all helmfile commands and options described in Helmfile CLI reference.
In addition, the component argument and stack flag are required to generate variables for the component in the stack.
Additions and differences from native Helmfile:
-
atmos helmfile generate varfilecommand generates a varfile for the component in the stack -
atmos helmfilecommands support GLOBAL OPTIONS using the command-line flag--global-options. Usage:atmos helmfile <command> <component> -s <stack> [command options] [arguments] --global-options="--no-color --namespace=test" -
before executing the
helmfilecommands, Atmos runsaws eks update-kubeconfigto read kubeconfig from the EKS cluster and use it to authenticate with the cluster. This can be disabled inatmos.yamlCLI config by settingcomponents.helmfile.use_ekstofalse -
double-dash
--can be used to signify the end of the options for Atmos and the start of the additional native arguments and flags for thehelmfilecommands.
Run atmos helmfile --help to see all the available options
Examples
atmos helmfile diff echo-server -s tenant1-ue2-dev
atmos helmfile diff echo-server -s tenant1-ue2-dev --redirect-stderr /dev/null
atmos helmfile apply echo-server -s tenant1-ue2-dev
atmos helmfile apply echo-server -s tenant1-ue2-dev --redirect-stderr /dev/stdout
atmos helmfile sync echo-server --stack tenant1-ue2-dev
atmos helmfile sync echo-server --stack tenant1-ue2-dev --redirect-stderr ./errors.txt
atmos helmfile destroy echo-server --stack=tenant1-ue2-dev
atmos helmfile destroy echo-server --stack=tenant1-ue2-dev --redirect-stderr /dev/stdout
Arguments
component(required)- Atmos component.
Flags
--stack/-s(required)- Atmos stack.
--dry-run(optional)- Dry run.
--redirect-stderr(optional)- File descriptor to redirect
stderrto.
Errors can be redirected to any file or any standard file descriptor
(including/dev/null).
All native helmfile flags, command options, and arguments are supported
Subcommands
📄️ generate varfile
Use this command to generate a varfile for a `helmfile` component in a stack.