Files
argocd-apps/schemas/rke-machine-config.cattle.io/linodeconfig_v1.json
T
unkinben 2bd8fcc0c2
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
Add JSON schema generation for kubeconform CRD validation
- 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)
2026-06-28 17:24:47 +10:00

95 lines
1.7 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"apiVersion": {
"type": "string"
},
"authorizedUsers": {
"default": "",
"nullable": true,
"type": "string"
},
"createPrivateIp": {
"default": false,
"type": "boolean"
},
"dockerPort": {
"default": "2376",
"nullable": true,
"type": "string"
},
"image": {
"default": "linode/ubuntu18.04",
"nullable": true,
"type": "string"
},
"instanceType": {
"default": "g6-standard-4",
"nullable": true,
"type": "string"
},
"kind": {
"type": "string"
},
"label": {
"default": "",
"nullable": true,
"type": "string"
},
"metadata": {
"type": "object"
},
"region": {
"default": "us-east",
"nullable": true,
"type": "string"
},
"rootPass": {
"default": "",
"nullable": true,
"type": "string"
},
"sshPort": {
"default": "22",
"nullable": true,
"type": "string"
},
"sshUser": {
"default": "",
"nullable": true,
"type": "string"
},
"stackscript": {
"default": "",
"nullable": true,
"type": "string"
},
"stackscriptData": {
"default": "",
"nullable": true,
"type": "string"
},
"swapSize": {
"default": "512",
"nullable": true,
"type": "string"
},
"tags": {
"default": "",
"nullable": true,
"type": "string"
},
"token": {
"default": "",
"nullable": true,
"type": "string"
},
"uaPrefix": {
"default": "",
"nullable": true,
"type": "string"
}
},
"type": "object"
}