Variables
You can set variables to be made available to the templates. Generally, it is recommended to use Basic layering.
Generator
To help you get started quickly, you can generate starter variable code.
$ kubes new variable
create .kubes/variables/dev.rb
.kubes/variables/dev.rb
@example = "dev-value"
To create the prod variables, set KUBES_ENV=prod
.
$ KUBES_ENV=prod kubes new variable
create .kubes/variables/prod.rb
.kubes/variables/prod.rb
@example = "prod-value"