Closed TanmoySG closed 2 years ago
{
"components": {
"schemas": {
"spec": {
"type": "object",
"required": [
"replicas",
"datacenter_namespace",
"datacenter",
"image",
"pipeline"
],
"properties": {
"replicas": {
"type": "integer",
"minimum": 0
},
"datacenter": {
"type": "string"
},
"resource_limits": {
"$ref": "#/components/schemas/ContainerResourceLimits"
},
"environment": {
"type": "array",
"items": {
"$ref": "#/components/schemas/EnvironmentValue"
}
}
},
"additionalProperties": false
},
"EnvironmentValueName": {
"type": "string",
"pattern": "[A-Z]+(_[A-Z]+)*"
},
"ContainerResourceRequests": {
"type": "object",
"required": [
"cpu_request",
"mem_request"
],
"additionalProperties": false,
"properties": {
"cpu_request": {
"type": "string"
},
"mem_request": {
"type": "string"
}
}
}
}
}
}
Add SO-Audit Schema Definition to the
schema/
directory.[Checkpoints]
[Additional Information] Add additional information as per need. Snippets, References, etc.