Skip to content

Allow variable substitutions in --env arguments for bndl tool#489

Merged
huntc merged 1 commit intotypesafehub:masterfrom
longshorej:bndl-export-format
Jun 12, 2017
Merged

Allow variable substitutions in --env arguments for bndl tool#489
huntc merged 1 commit intotypesafehub:masterfrom
longshorej:bndl-export-format

Conversation

@longshorej
Copy link
Copy Markdown
Contributor

This PR changes the format for generated export statements when running bndl --env. Whereas we previously enclosed values in single-quotes (thus preserving literal values), we now enclose in double quotes to allow variable substitution.

This allows syntax like the following to work as expected:

conduct load confluentinc/cp-kafka:3.2.1--env 'KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://$BUNDLE_HOST_IP:9092'

@longshorej longshorej force-pushed the bndl-export-format branch from 5743942 to 68714a0 Compare June 12, 2017 16:34
@huntc huntc merged commit c11e870 into typesafehub:master Jun 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants