Skip to content
This repository has been archived by the owner on Apr 15, 2021. It is now read-only.

Commit

Permalink
feat: add tls verify option for consul-template
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Noordhuis committed Aug 22, 2020
1 parent 3221121 commit 14a6dfa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/ctpl.consul.hcl.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#jinja2: trim_blocks:False
pid_file = "/run/consul-template-consul.pid"
reload_signal = "SIGHUP"
kill_signal = "SIGINT"
Expand Down Expand Up @@ -30,6 +31,9 @@ vault {
renew_token = true
ssl {
enabled = true
{%- if ctpl_consul_vault_verify is defined %}
verify = {{ ctpl_consul_vault_verify | bool | lower }}
{%- endif %}
}
}

Expand Down

0 comments on commit 14a6dfa

Please sign in to comment.