Merge pull request #89 from danielcb/fix-readme

Add quotes to envvar example in readme
This commit is contained in:
KUOKA Yusuke 2018-04-06 18:54:42 +09:00 committed by GitHub
commit 24dfc477ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ releases:
- name: address - name: address
value: https://vault.example.com value: https://vault.example.com
- name: db.password - 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 - name: proxy.domain
value: "{{ env \"PLATFORM_ID\" }}.my-domain.com" # Interpolate environment variable with a fixed string value: "{{ env \"PLATFORM_ID\" }}.my-domain.com" # Interpolate environment variable with a fixed string