bosh-cli: bosh interpolate doesn't properly handle env variables with new line
export TEST_ca_cert=$(read certificate from somewhere)
bosh interpolate file.yml --vars-env TEST
Output is:
ca_cert: '-----BEGIN CERTIFICATE----- MIIDEzCCAfugAwIBA ....'
Expected output:
ca_cert: |
-----BEGIN CERTIFICATE-----
MIIDEzCCAfugAwIBA
....
We use latest bosh cli.
bosh --version
version 2.0.26-105157c-2017-06-22T18:53:53Z
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 2
- Comments: 15 (6 by maintainers)
@olle-brkt you should be able to use —var-file private_key=<(vault read …)
Sent from my iPhone