You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
725 B
Plaintext
30 lines
725 B
Plaintext
2 years ago
|
{
|
||
|
"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}": ["group:admin", "${tag}"],
|
||
|
%{~ endfor ~}
|
||
|
},
|
||
|
"exitNode": ["${tag}"]
|
||
|
},
|
||
|
%{~ if enable_ssh ~}
|
||
|
"ssh": [
|
||
|
{
|
||
|
"action": "check",
|
||
|
"src": ["autogroup:members"],
|
||
|
"dst": ["autogroup:self"],
|
||
|
"users": ["autogroup:nonroot", "root"]
|
||
|
}
|
||
|
]
|
||
|
%{~ endif ~}
|
||
|
}
|