35 lines
1019 B
JSON
35 lines
1019 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"properties": {
|
|
"replicaCount": {"type": "integer", "minimum": 1},
|
|
"image": {
|
|
"type": "object",
|
|
"required": ["repository", "pullPolicy"],
|
|
"properties": {
|
|
"repository": {"type": "string", "minLength": 1},
|
|
"pullPolicy": {"type": "string", "enum": ["Always", "IfNotPresent", "Never"]}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"ingress": {"type": "object"},
|
|
"servers": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"required": ["description", "host"],
|
|
"properties": {
|
|
"description": {"type": "string"},
|
|
"host": {"type": "string"},
|
|
"port": {"type": "integer", "minimum": 1, "maximum": 65535},
|
|
"sslmode": {"type": "string"},
|
|
"defaultdb": {"type": "string"}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"resources": {"type": "object"}
|
|
},
|
|
"additionalProperties": true
|
|
}
|