Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render consul templates using task env only #6055

Merged
merged 2 commits into from
Aug 5, 2019

Commits on Aug 1, 2019

  1. Render consul templates using task env only

    When rendering a task consul template, ensure that only task environment
    variables are used.
    
    Currently, `consul-template` always falls back to host process
    environment variables when key isn't a task env var[1].  Thus, we add
    an empty entry for each host process env-var not found in task env-vars.
    
    [1] https://github.com/hashicorp/consul-template/blob/bfa5d0e133688920afd1e012404f765182e3d5e0/template/funcs.go#L61-L75
    Mahmood Ali committed Aug 1, 2019
    Configuration menu
    Copy the full SHA
    a647da2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    36078bf View commit details
    Browse the repository at this point in the history