2bd8fcc0c2
- ci/generate-schemas.sh extracts schemas from live cluster CRDs via kubectl - Generated schemas committed to schemas/ for CI use - Run `make schemas` to regenerate after CRD or K8s version changes - validate-apps.sh and validate-clusters.sh check local schemas first - CRD instances (Gateway, TLSRoute, Pooler, etc.) now validated instead of skipped - CustomResourceDefinition meta-type still skipped (no schema exists upstream)
99 lines
2.0 KiB
JSON
99 lines
2.0 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"type": "object"
|
|
},
|
|
"snapshotFile": {
|
|
"properties": {
|
|
"createdAt": {
|
|
"format": "date-time",
|
|
"type": "string"
|
|
},
|
|
"location": {
|
|
"type": "string"
|
|
},
|
|
"message": {
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"nodeName": {
|
|
"type": "string"
|
|
},
|
|
"s3": {
|
|
"properties": {
|
|
"bucket": {
|
|
"maxLength": 63,
|
|
"nullable": true,
|
|
"type": "string"
|
|
},
|
|
"cloudCredentialName": {
|
|
"nullable": true,
|
|
"type": "string"
|
|
},
|
|
"endpoint": {
|
|
"nullable": true,
|
|
"type": "string"
|
|
},
|
|
"endpointCA": {
|
|
"nullable": true,
|
|
"type": "string"
|
|
},
|
|
"folder": {
|
|
"nullable": true,
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"nullable": true,
|
|
"type": "string"
|
|
},
|
|
"skipSSLVerify": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"size": {
|
|
"format": "int64",
|
|
"type": "integer"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"spec": {
|
|
"properties": {
|
|
"clusterName": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"status": {
|
|
"properties": {
|
|
"missing": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"missing"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|