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)
55 lines
1.1 KiB
JSON
55 lines
1.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"type": "object"
|
|
},
|
|
"spec": {
|
|
"properties": {
|
|
"failurePolicy": {
|
|
"default": "reinstall",
|
|
"enum": [
|
|
"abort",
|
|
"reinstall"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"values": {
|
|
"x-kubernetes-preserve-unknown-fields": true
|
|
},
|
|
"valuesContent": {
|
|
"type": "string"
|
|
},
|
|
"valuesSecrets": {
|
|
"items": {
|
|
"properties": {
|
|
"ignoreUpdates": {
|
|
"type": "boolean"
|
|
},
|
|
"keys": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|