Tiller v0.0.7 now supports environment variables

Updated:

Note : This page may contain outdated information and/or broken links; some of the formatting may be mangled due to the many different code-bases this site has been through in over 20 years; my opinions may have changed etc. etc.

Just a quick update : Tiller has just been updated to v0.0.7. I’ve just added a new EnvironmentDataSource which is super-simple, but very convenient. It makes all your environment variables accessible to templates (as global values) by converting them to lower-case, and prefixing them with env_.

To use it, just add it to your datasources in /etc/tiller/common.yaml :

data_sources:
  - file
  - environment

And then you can do things like this in your templates :

Hello, world!
My auto-generated hostname is <%= env_hostname %>

Check it out at GitHub or install the Ruby gem.

Comments