Add quotes to envvar example in readme

This commit is contained in:
Daniel 2018-04-06 08:50:09 +02:00
parent 283848c594
commit a3d6cce636
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ releases:
- name: address
value: https://vault.example.com
- name: db.password
value: {{ env "DB_PASSWORD" }} # value taken from environment variable. Will throw an error if the environment variable is not set. $DB_PASSWORD needs to be set in the calling environment ex: export DB_PASSWORD='password1'
value: "{{ env \"DB_PASSWORD\" }}" # value taken from environment variable. Quotes are necessary. Will throw an error if the environment variable is not set. $DB_PASSWORD needs to be set in the calling environment ex: export DB_PASSWORD='password1'
- name: proxy.domain
value: "{{ env \"PLATFORM_ID\" }}.my-domain.com" # Interpolate environment variable with a fixed string