feat: add support for node attributes

This commit is contained in:
Johan Siebens
2024-01-04 15:53:26 +01:00
parent 8a3f47490e
commit 9b5f045849
11 changed files with 455 additions and 69 deletions
+6
View File
@@ -28,6 +28,7 @@ message ACLPolicy {
map<string, google.protobuf.ListValue> tagowners = 4;
optional AutoApprovers autoapprovers = 5;
repeated SSHRule ssh = 6;
repeated NodeAttr nodeattrs = 7;
}
message ACL {
@@ -48,3 +49,8 @@ message SSHRule {
repeated string users = 4;
string checkperiod = 5;
}
message NodeAttr {
repeated string target = 1;
repeated string attr = 2;
}