You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
710 B
29 lines
710 B
{ |
|
"groups": { |
|
"group:admin": [ %{~ for admin in admins ~} "${admin}@${domain}", %{~ endfor ~} ] |
|
}, |
|
"acls": [ |
|
{ "action": "accept", "users": ["*"], "ports": ["*:*"] } |
|
], |
|
"tagOwners": { |
|
"${tag}": ["group:admin", "${tag}"] |
|
}, |
|
"autoApprovers": { |
|
"routes": { |
|
%{~ for route in routes ~} |
|
"${route}": ["${tag}"], |
|
%{~ endfor ~} |
|
}, |
|
"exitNode": ["${tag}"] |
|
}, |
|
%{~ if enable_ssh ~} |
|
"ssh": [ |
|
{ |
|
"action": "check", |
|
"src": ["autogroup:members"], |
|
"dst": ["autogroup:self"], |
|
"users": ["autogroup:nonroot", "root"] |
|
} |
|
] |
|
%{~ endif ~} |
|
}
|
|
|