423287ff3f
- 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 - Remove all kubeconform skip lists — all resource types now have schemas
115 lines
2.4 KiB
JSON
115 lines
2.4 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"type": "string"
|
|
},
|
|
"kind": {
|
|
"type": "string"
|
|
},
|
|
"metadata": {
|
|
"type": "object"
|
|
},
|
|
"spec": {
|
|
"properties": {
|
|
"asNumber": {
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"filters": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"keepOriginalNextHop": {
|
|
"type": "boolean"
|
|
},
|
|
"localWorkloadSelector": {
|
|
"type": "string"
|
|
},
|
|
"maxRestartTime": {
|
|
"type": "string"
|
|
},
|
|
"nextHopMode": {
|
|
"allOf": [
|
|
{
|
|
"enum": [
|
|
"Auto",
|
|
"Self",
|
|
"Keep"
|
|
]
|
|
},
|
|
{
|
|
"enum": [
|
|
"Auto",
|
|
"Self",
|
|
"Keep"
|
|
]
|
|
}
|
|
],
|
|
"type": "string"
|
|
},
|
|
"node": {
|
|
"type": "string"
|
|
},
|
|
"nodeSelector": {
|
|
"type": "string"
|
|
},
|
|
"numAllowedLocalASNumbers": {
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"password": {
|
|
"properties": {
|
|
"secretKeyRef": {
|
|
"properties": {
|
|
"key": {
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"default": "",
|
|
"type": "string"
|
|
},
|
|
"optional": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"key"
|
|
],
|
|
"type": "object",
|
|
"x-kubernetes-map-type": "atomic"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"peerIP": {
|
|
"type": "string"
|
|
},
|
|
"peerSelector": {
|
|
"type": "string"
|
|
},
|
|
"reachableBy": {
|
|
"type": "string"
|
|
},
|
|
"reversePeering": {
|
|
"enum": [
|
|
"Auto",
|
|
"Manual"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"sourceAddress": {
|
|
"type": "string"
|
|
},
|
|
"ttlSecurity": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|