Skip to main content

atmos helmfile

Purpose

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]

info

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 varfile command generates a varfile for the component in the stack

  • atmos helmfile commands 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 helmfile commands, atmos runs aws eks update-kubeconfig to read kubeconfig from the EKS cluster and use it to authenticate with the cluster. This can be disabled in atmos.yaml CLI config by setting components.helmfile.use_eks to false


tip

Run atmos helmfile --help to see all the available options

Examples​

atmos helmfile diff echo-server -s tenant1-ue2-dev
atmos helmfile apply echo-server -s tenant1-ue2-dev
atmos helmfile sync echo-server --stack tenant1-ue2-dev
atmos helmfile destroy echo-server --stack=tenant1-ue2-dev

Arguments​

ArgumentDescriptionRequired
componentatmos componentyes

Flags​

FlagDescriptionAliasRequired
--stackatmos stack-syes
--dry-runDry-runno

note

All native helmfile flags, command options, and arguments are supported

Subcommands​