Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit f7c0796

Browse files
committed
Bump schemas
Signed-off-by: Josh Curl <[email protected]>
1 parent 67604d0 commit f7c0796

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

script/config_schema_v1.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
"mac_address": {"type": "string"},
8686
"mem_limit": {"type": ["number", "string"]},
8787
"memswap_limit": {"type": ["number", "string"]},
88+
"mem_swappiness": {"type": "integer"},
8889
"net": {"type": "string"},
8990
"pid": {"type": ["string", "null"]},
9091

script/config_schema_v2.0.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@
139139
"mac_address": {"type": "string"},
140140
"mem_limit": {"type": ["number", "string"]},
141141
"memswap_limit": {"type": ["number", "string"]},
142+
"mem_swappiness": {"type": "integer"},
142143
"network_mode": {"type": "string"},
143144

144145
"networks": {
@@ -166,6 +167,7 @@
166167
}
167168
]
168169
},
170+
"oom_score_adj": {"type": "integer", "minimum": -1000, "maximum": 1000},
169171
"pid": {"type": ["string", "null"]},
170172

171173
"ports": {
@@ -245,7 +247,8 @@
245247
"name": {"type": "string"}
246248
},
247249
"additionalProperties": false
248-
}
250+
},
251+
"internal": {"type": "boolean"}
249252
},
250253
"additionalProperties": false
251254
},

0 commit comments

Comments
 (0)