check instance pool matches user allowed pools,

update user allowed nodes format,
add get user ct templates route
This commit is contained in:
2024-04-15 21:52:20 +00:00
parent 3ddd1f62d7
commit 9360f7abec
4 changed files with 52 additions and 104 deletions

View File

@@ -71,19 +71,19 @@
}
}
},
"nodes": [
"example-node-0",
"example-node-1",
"example-node-2"
],
"cluster": {
"nodes": {
"example-node-0": true,
"example-node-1": true,
"example-node-2": true
},
"vmid": {
"min": 100,
"max": 199
},
"pools": {
"examplepool1": true,
"examplepool2": true
"example-pool-1": true,
"example-pool-2": true
}
},
"templates": {