@forge/manifest
12.0.012.1.0-next.0
out/schema/manifest-schema.jsonout/schema/manifest-schema.json+15−5
Index: package/out/schema/manifest-schema.json
===================================================================
--- package/out/schema/manifest-schema.json
+++ package/out/schema/manifest-schema.json
@@ -29943,19 +29943,28 @@
}
}
}
},
+ "ContainerCpuResourceSchema": {
+ "type": "string",
+ "pattern": "^([0-9]+m|[0-9]+(\\.[0-9]+)?)$"
+ },
+ "ContainerMemoryResourceSchema": {
+ "type": "string",
+ "pattern": "^[0-9]+[GM]i$"
+ },
"ContainerResourcesSchema": {
"type": "object",
"additionalProperties": false,
+ "required": ["cpu", "memory"],
"properties": {
"cpu": {
- "type": "number",
- "description": "The amount of CPU to be allocated to the container"
+ "$ref": "#/definitions/ContainerCpuResourceSchema",
+ "description": "The reserved amount of CPU for the container"
},
"memory": {
- "type": "number",
- "description": "The amount of memory to be allocated to the container"
+ "$ref": "#/definitions/ContainerMemoryResourceSchema",
+ "description": "The reserved amount of memory for the container"
}
}
},
"ContainerTunnelSchema": {
@@ -30034,9 +30043,10 @@
"type": "object",
"required": [
"key",
"tag",
- "health"
+ "health",
+ "resources"
],
"additionalProperties": false,
"properties": {
"key": {