Merge "Add support for a parallel set of secrets for connections"
This commit is contained in:
commit
267330257e
|
@ -67,6 +67,7 @@ class zuul (
|
|||
$sites = [],
|
||||
$nodes = [],
|
||||
$connections = [],
|
||||
$connection_secrets = [],
|
||||
$trusted_ro_dirs = [],
|
||||
$trusted_rw_dirs = [],
|
||||
$untrusted_ro_dirs = [],
|
||||
|
|
|
@ -70,5 +70,14 @@ listen_port=<%= @web_listen_port %>
|
|||
<% connection.each do |key,value| -%>
|
||||
<%= key %>=<%= value %>
|
||||
<% end -%>
|
||||
<% @connection_secrets.each do |connection_secret| -%>
|
||||
<% if connection_secret['name'] == connection['name'] -%>
|
||||
<% connection_secret.each do |key,value| -%>
|
||||
<% if key != 'name' -%>
|
||||
<%= key %>=<%= value %>
|
||||
<% end -%>
|
||||
<% end -%>
|
||||
<% end -%>
|
||||
<% end -%>
|
||||
|
||||
<% end -%>
|
||||
|
|
Loading…
Reference in New Issue