33 lines
1021 B
JSON
33 lines
1021 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"required": ["image", "existingConfigSecret", "serviceMonitor"],
|
|
"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
|
|
},
|
|
"existingConfigSecret": {"type": "string", "minLength": 1},
|
|
"service": {"type": "object"},
|
|
"serviceMonitor": {
|
|
"type": "object",
|
|
"required": ["enabled", "labels"],
|
|
"properties": {
|
|
"enabled": {"type": "boolean"},
|
|
"labels": {"type": "object"},
|
|
"interval": {"type": "string"},
|
|
"scrapeTimeout": {"type": "string"}
|
|
},
|
|
"additionalProperties": true
|
|
},
|
|
"resources": {"type": "object"}
|
|
},
|
|
"additionalProperties": true
|
|
}
|