Add JSON schema generation for kubeconform CRD validation
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful

- 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)
This commit is contained in:
2026-06-28 16:53:11 +10:00
parent cfca1e5278
commit 2bd8fcc0c2
264 changed files with 142907 additions and 2 deletions
@@ -0,0 +1,304 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"properties": {
"accessKey": {
"nullable": true,
"type": "string"
},
"ami": {
"nullable": true,
"type": "string"
},
"blockDurationMinutes": {
"nullable": true,
"type": "string"
},
"common": {
"properties": {
"cloudCredentialSecretName": {
"maxLength": 317,
"nullable": true,
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"nullable": true,
"type": "object"
},
"taints": {
"items": {
"properties": {
"effect": {
"type": "string"
},
"key": {
"type": "string"
},
"timeAdded": {
"format": "date-time",
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"effect",
"key"
],
"type": "object"
},
"nullable": true,
"type": "array"
}
},
"type": "object"
},
"deviceName": {
"nullable": true,
"type": "string"
},
"enablePrimaryIpv6": {
"type": "boolean"
},
"encryptEbsVolume": {
"type": "boolean"
},
"endpoint": {
"nullable": true,
"type": "string"
},
"httpEndpoint": {
"nullable": true,
"type": "string"
},
"httpProtocolIpv6": {
"nullable": true,
"type": "string"
},
"httpTokens": {
"nullable": true,
"type": "string"
},
"iamInstanceProfile": {
"nullable": true,
"type": "string"
},
"insecureTransport": {
"type": "boolean"
},
"instanceType": {
"nullable": true,
"type": "string"
},
"ipv6AddressCount": {
"nullable": true,
"type": "string"
},
"ipv6AddressOnly": {
"type": "boolean"
},
"keypairName": {
"nullable": true,
"type": "string"
},
"kmsKey": {
"nullable": true,
"type": "string"
},
"monitoring": {
"type": "boolean"
},
"openPort": {
"items": {
"nullable": true,
"type": "string"
},
"nullable": true,
"type": "array"
},
"privateAddressOnly": {
"type": "boolean"
},
"providerID": {
"nullable": true,
"type": "string"
},
"region": {
"nullable": true,
"type": "string"
},
"requestSpotInstance": {
"type": "boolean"
},
"retries": {
"nullable": true,
"type": "string"
},
"rootSize": {
"nullable": true,
"type": "string"
},
"secretKey": {
"nullable": true,
"type": "string"
},
"securityGroup": {
"items": {
"nullable": true,
"type": "string"
},
"nullable": true,
"type": "array"
},
"securityGroupReadonly": {
"type": "boolean"
},
"sessionToken": {
"nullable": true,
"type": "string"
},
"spotPrice": {
"nullable": true,
"type": "string"
},
"sshKeyContents": {
"nullable": true,
"type": "string"
},
"sshUser": {
"nullable": true,
"type": "string"
},
"subnetId": {
"nullable": true,
"type": "string"
},
"tags": {
"nullable": true,
"type": "string"
},
"useEbsOptimizedInstance": {
"type": "boolean"
},
"usePrivateAddress": {
"type": "boolean"
},
"userdata": {
"nullable": true,
"type": "string"
},
"volumeType": {
"nullable": true,
"type": "string"
},
"vpcId": {
"nullable": true,
"type": "string"
},
"zone": {
"nullable": true,
"type": "string"
}
},
"type": "object"
},
"status": {
"properties": {
"addresses": {
"items": {
"properties": {
"address": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"type": {
"enum": [
"Hostname",
"ExternalIP",
"InternalIP",
"ExternalDNS",
"InternalDNS"
],
"type": "string"
}
},
"required": [
"address",
"type"
],
"type": "object"
},
"type": "array"
},
"cloudCredentialSecretName": {
"type": "string"
},
"conditions": {
"items": {
"properties": {
"lastTransitionTime": {
"type": "string"
},
"lastUpdateTime": {
"type": "string"
},
"message": {
"type": "string"
},
"reason": {
"type": "string"
},
"status": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"status",
"type"
],
"type": "object"
},
"type": "array"
},
"driverHash": {
"type": "string"
},
"driverUrl": {
"type": "string"
},
"failureMessage": {
"type": "string"
},
"failureReason": {
"type": "string"
},
"jobName": {
"type": "string"
},
"ready": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
}
@@ -0,0 +1,235 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"properties": {
"clusterName": {
"nullable": true,
"type": "string"
},
"template": {
"properties": {
"spec": {
"properties": {
"accessKey": {
"nullable": true,
"type": "string"
},
"ami": {
"nullable": true,
"type": "string"
},
"blockDurationMinutes": {
"nullable": true,
"type": "string"
},
"common": {
"properties": {
"cloudCredentialSecretName": {
"maxLength": 317,
"nullable": true,
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"nullable": true,
"type": "object"
},
"taints": {
"items": {
"properties": {
"effect": {
"type": "string"
},
"key": {
"type": "string"
},
"timeAdded": {
"format": "date-time",
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"effect",
"key"
],
"type": "object"
},
"nullable": true,
"type": "array"
}
},
"type": "object"
},
"deviceName": {
"nullable": true,
"type": "string"
},
"enablePrimaryIpv6": {
"type": "boolean"
},
"encryptEbsVolume": {
"type": "boolean"
},
"endpoint": {
"nullable": true,
"type": "string"
},
"httpEndpoint": {
"nullable": true,
"type": "string"
},
"httpProtocolIpv6": {
"nullable": true,
"type": "string"
},
"httpTokens": {
"nullable": true,
"type": "string"
},
"iamInstanceProfile": {
"nullable": true,
"type": "string"
},
"insecureTransport": {
"type": "boolean"
},
"instanceType": {
"nullable": true,
"type": "string"
},
"ipv6AddressCount": {
"nullable": true,
"type": "string"
},
"ipv6AddressOnly": {
"type": "boolean"
},
"keypairName": {
"nullable": true,
"type": "string"
},
"kmsKey": {
"nullable": true,
"type": "string"
},
"monitoring": {
"type": "boolean"
},
"openPort": {
"items": {
"nullable": true,
"type": "string"
},
"nullable": true,
"type": "array"
},
"privateAddressOnly": {
"type": "boolean"
},
"providerID": {
"nullable": true,
"type": "string"
},
"region": {
"nullable": true,
"type": "string"
},
"requestSpotInstance": {
"type": "boolean"
},
"retries": {
"nullable": true,
"type": "string"
},
"rootSize": {
"nullable": true,
"type": "string"
},
"secretKey": {
"nullable": true,
"type": "string"
},
"securityGroup": {
"items": {
"nullable": true,
"type": "string"
},
"nullable": true,
"type": "array"
},
"securityGroupReadonly": {
"type": "boolean"
},
"sessionToken": {
"nullable": true,
"type": "string"
},
"spotPrice": {
"nullable": true,
"type": "string"
},
"sshKeyContents": {
"nullable": true,
"type": "string"
},
"sshUser": {
"nullable": true,
"type": "string"
},
"subnetId": {
"nullable": true,
"type": "string"
},
"tags": {
"nullable": true,
"type": "string"
},
"useEbsOptimizedInstance": {
"type": "boolean"
},
"usePrivateAddress": {
"type": "boolean"
},
"userdata": {
"nullable": true,
"type": "string"
},
"volumeType": {
"nullable": true,
"type": "string"
},
"vpcId": {
"nullable": true,
"type": "string"
},
"zone": {
"nullable": true,
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
@@ -0,0 +1,280 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"properties": {
"acceleratedNetworking": {
"type": "boolean"
},
"availabilitySet": {
"nullable": true,
"type": "string"
},
"availabilityZone": {
"nullable": true,
"type": "string"
},
"clientId": {
"nullable": true,
"type": "string"
},
"clientSecret": {
"nullable": true,
"type": "string"
},
"common": {
"properties": {
"cloudCredentialSecretName": {
"maxLength": 317,
"nullable": true,
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"nullable": true,
"type": "object"
},
"taints": {
"items": {
"properties": {
"effect": {
"type": "string"
},
"key": {
"type": "string"
},
"timeAdded": {
"format": "date-time",
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"effect",
"key"
],
"type": "object"
},
"nullable": true,
"type": "array"
}
},
"type": "object"
},
"customData": {
"nullable": true,
"type": "string"
},
"diskSize": {
"nullable": true,
"type": "string"
},
"dns": {
"nullable": true,
"type": "string"
},
"dockerPort": {
"nullable": true,
"type": "string"
},
"enablePublicIpStandardSku": {
"type": "boolean"
},
"environment": {
"nullable": true,
"type": "string"
},
"faultDomainCount": {
"nullable": true,
"type": "string"
},
"image": {
"nullable": true,
"type": "string"
},
"location": {
"nullable": true,
"type": "string"
},
"managedDisks": {
"type": "boolean"
},
"noPublicIp": {
"type": "boolean"
},
"nsg": {
"nullable": true,
"type": "string"
},
"openPort": {
"items": {
"nullable": true,
"type": "string"
},
"nullable": true,
"type": "array"
},
"plan": {
"nullable": true,
"type": "string"
},
"privateIpAddress": {
"nullable": true,
"type": "string"
},
"providerID": {
"nullable": true,
"type": "string"
},
"resourceGroup": {
"nullable": true,
"type": "string"
},
"size": {
"nullable": true,
"type": "string"
},
"sshUser": {
"nullable": true,
"type": "string"
},
"staticPublicIp": {
"type": "boolean"
},
"storageType": {
"nullable": true,
"type": "string"
},
"subnet": {
"nullable": true,
"type": "string"
},
"subnetPrefix": {
"nullable": true,
"type": "string"
},
"subscriptionId": {
"nullable": true,
"type": "string"
},
"tags": {
"nullable": true,
"type": "string"
},
"tenantId": {
"nullable": true,
"type": "string"
},
"updateDomainCount": {
"nullable": true,
"type": "string"
},
"usePrivateIp": {
"type": "boolean"
},
"vnet": {
"nullable": true,
"type": "string"
}
},
"type": "object"
},
"status": {
"properties": {
"addresses": {
"items": {
"properties": {
"address": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"type": {
"enum": [
"Hostname",
"ExternalIP",
"InternalIP",
"ExternalDNS",
"InternalDNS"
],
"type": "string"
}
},
"required": [
"address",
"type"
],
"type": "object"
},
"type": "array"
},
"cloudCredentialSecretName": {
"type": "string"
},
"conditions": {
"items": {
"properties": {
"lastTransitionTime": {
"type": "string"
},
"lastUpdateTime": {
"type": "string"
},
"message": {
"type": "string"
},
"reason": {
"type": "string"
},
"status": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"status",
"type"
],
"type": "object"
},
"type": "array"
},
"driverHash": {
"type": "string"
},
"driverUrl": {
"type": "string"
},
"failureMessage": {
"type": "string"
},
"failureReason": {
"type": "string"
},
"jobName": {
"type": "string"
},
"ready": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
}
@@ -0,0 +1,211 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"properties": {
"clusterName": {
"nullable": true,
"type": "string"
},
"template": {
"properties": {
"spec": {
"properties": {
"acceleratedNetworking": {
"type": "boolean"
},
"availabilitySet": {
"nullable": true,
"type": "string"
},
"availabilityZone": {
"nullable": true,
"type": "string"
},
"clientId": {
"nullable": true,
"type": "string"
},
"clientSecret": {
"nullable": true,
"type": "string"
},
"common": {
"properties": {
"cloudCredentialSecretName": {
"maxLength": 317,
"nullable": true,
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"nullable": true,
"type": "object"
},
"taints": {
"items": {
"properties": {
"effect": {
"type": "string"
},
"key": {
"type": "string"
},
"timeAdded": {
"format": "date-time",
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"effect",
"key"
],
"type": "object"
},
"nullable": true,
"type": "array"
}
},
"type": "object"
},
"customData": {
"nullable": true,
"type": "string"
},
"diskSize": {
"nullable": true,
"type": "string"
},
"dns": {
"nullable": true,
"type": "string"
},
"dockerPort": {
"nullable": true,
"type": "string"
},
"enablePublicIpStandardSku": {
"type": "boolean"
},
"environment": {
"nullable": true,
"type": "string"
},
"faultDomainCount": {
"nullable": true,
"type": "string"
},
"image": {
"nullable": true,
"type": "string"
},
"location": {
"nullable": true,
"type": "string"
},
"managedDisks": {
"type": "boolean"
},
"noPublicIp": {
"type": "boolean"
},
"nsg": {
"nullable": true,
"type": "string"
},
"openPort": {
"items": {
"nullable": true,
"type": "string"
},
"nullable": true,
"type": "array"
},
"plan": {
"nullable": true,
"type": "string"
},
"privateIpAddress": {
"nullable": true,
"type": "string"
},
"providerID": {
"nullable": true,
"type": "string"
},
"resourceGroup": {
"nullable": true,
"type": "string"
},
"size": {
"nullable": true,
"type": "string"
},
"sshUser": {
"nullable": true,
"type": "string"
},
"staticPublicIp": {
"type": "boolean"
},
"storageType": {
"nullable": true,
"type": "string"
},
"subnet": {
"nullable": true,
"type": "string"
},
"subnetPrefix": {
"nullable": true,
"type": "string"
},
"subscriptionId": {
"nullable": true,
"type": "string"
},
"tags": {
"nullable": true,
"type": "string"
},
"tenantId": {
"nullable": true,
"type": "string"
},
"updateDomainCount": {
"nullable": true,
"type": "string"
},
"usePrivateIp": {
"type": "boolean"
},
"vnet": {
"nullable": true,
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
@@ -0,0 +1,202 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"properties": {
"accessToken": {
"nullable": true,
"type": "string"
},
"backups": {
"type": "boolean"
},
"common": {
"properties": {
"cloudCredentialSecretName": {
"maxLength": 317,
"nullable": true,
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"nullable": true,
"type": "object"
},
"taints": {
"items": {
"properties": {
"effect": {
"type": "string"
},
"key": {
"type": "string"
},
"timeAdded": {
"format": "date-time",
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"effect",
"key"
],
"type": "object"
},
"nullable": true,
"type": "array"
}
},
"type": "object"
},
"image": {
"nullable": true,
"type": "string"
},
"ipv6": {
"type": "boolean"
},
"monitoring": {
"type": "boolean"
},
"privateNetworking": {
"type": "boolean"
},
"providerID": {
"nullable": true,
"type": "string"
},
"region": {
"nullable": true,
"type": "string"
},
"size": {
"nullable": true,
"type": "string"
},
"sshKeyContents": {
"nullable": true,
"type": "string"
},
"sshKeyFingerprint": {
"nullable": true,
"type": "string"
},
"sshPort": {
"nullable": true,
"type": "string"
},
"sshUser": {
"nullable": true,
"type": "string"
},
"tags": {
"nullable": true,
"type": "string"
},
"userdata": {
"nullable": true,
"type": "string"
}
},
"type": "object"
},
"status": {
"properties": {
"addresses": {
"items": {
"properties": {
"address": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"type": {
"enum": [
"Hostname",
"ExternalIP",
"InternalIP",
"ExternalDNS",
"InternalDNS"
],
"type": "string"
}
},
"required": [
"address",
"type"
],
"type": "object"
},
"type": "array"
},
"cloudCredentialSecretName": {
"type": "string"
},
"conditions": {
"items": {
"properties": {
"lastTransitionTime": {
"type": "string"
},
"lastUpdateTime": {
"type": "string"
},
"message": {
"type": "string"
},
"reason": {
"type": "string"
},
"status": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"status",
"type"
],
"type": "object"
},
"type": "array"
},
"driverHash": {
"type": "string"
},
"driverUrl": {
"type": "string"
},
"failureMessage": {
"type": "string"
},
"failureReason": {
"type": "string"
},
"jobName": {
"type": "string"
},
"ready": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
}
@@ -0,0 +1,133 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"properties": {
"clusterName": {
"nullable": true,
"type": "string"
},
"template": {
"properties": {
"spec": {
"properties": {
"accessToken": {
"nullable": true,
"type": "string"
},
"backups": {
"type": "boolean"
},
"common": {
"properties": {
"cloudCredentialSecretName": {
"maxLength": 317,
"nullable": true,
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"nullable": true,
"type": "object"
},
"taints": {
"items": {
"properties": {
"effect": {
"type": "string"
},
"key": {
"type": "string"
},
"timeAdded": {
"format": "date-time",
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"effect",
"key"
],
"type": "object"
},
"nullable": true,
"type": "array"
}
},
"type": "object"
},
"image": {
"nullable": true,
"type": "string"
},
"ipv6": {
"type": "boolean"
},
"monitoring": {
"type": "boolean"
},
"privateNetworking": {
"type": "boolean"
},
"providerID": {
"nullable": true,
"type": "string"
},
"region": {
"nullable": true,
"type": "string"
},
"size": {
"nullable": true,
"type": "string"
},
"sshKeyContents": {
"nullable": true,
"type": "string"
},
"sshKeyFingerprint": {
"nullable": true,
"type": "string"
},
"sshPort": {
"nullable": true,
"type": "string"
},
"sshUser": {
"nullable": true,
"type": "string"
},
"tags": {
"nullable": true,
"type": "string"
},
"userdata": {
"nullable": true,
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
@@ -0,0 +1,269 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"properties": {
"cloudConfig": {
"nullable": true,
"type": "string"
},
"clusterId": {
"nullable": true,
"type": "string"
},
"clusterName": {
"nullable": true,
"type": "string"
},
"clusterType": {
"nullable": true,
"type": "string"
},
"common": {
"properties": {
"cloudCredentialSecretName": {
"maxLength": 317,
"nullable": true,
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"nullable": true,
"type": "object"
},
"taints": {
"items": {
"properties": {
"effect": {
"type": "string"
},
"key": {
"type": "string"
},
"timeAdded": {
"format": "date-time",
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"effect",
"key"
],
"type": "object"
},
"nullable": true,
"type": "array"
}
},
"type": "object"
},
"cpuCount": {
"nullable": true,
"type": "string"
},
"cpuPinning": {
"type": "boolean"
},
"diskBus": {
"nullable": true,
"type": "string"
},
"diskInfo": {
"nullable": true,
"type": "string"
},
"diskSize": {
"nullable": true,
"type": "string"
},
"enableEfi": {
"type": "boolean"
},
"enableSecureBoot": {
"type": "boolean"
},
"enableTpm": {
"type": "boolean"
},
"imageName": {
"nullable": true,
"type": "string"
},
"isolateEmulatorThread": {
"type": "boolean"
},
"keyPairName": {
"nullable": true,
"type": "string"
},
"kubeconfigContent": {
"nullable": true,
"type": "string"
},
"memorySize": {
"nullable": true,
"type": "string"
},
"networkData": {
"nullable": true,
"type": "string"
},
"networkInfo": {
"nullable": true,
"type": "string"
},
"networkModel": {
"nullable": true,
"type": "string"
},
"networkName": {
"nullable": true,
"type": "string"
},
"networkType": {
"nullable": true,
"type": "string"
},
"providerID": {
"nullable": true,
"type": "string"
},
"reservedMemorySize": {
"nullable": true,
"type": "string"
},
"sshPassword": {
"nullable": true,
"type": "string"
},
"sshPort": {
"nullable": true,
"type": "string"
},
"sshPrivateKeyPath": {
"nullable": true,
"type": "string"
},
"sshUser": {
"nullable": true,
"type": "string"
},
"userData": {
"nullable": true,
"type": "string"
},
"vgpuInfo": {
"nullable": true,
"type": "string"
},
"vmAffinity": {
"nullable": true,
"type": "string"
},
"vmNamespace": {
"nullable": true,
"type": "string"
}
},
"type": "object"
},
"status": {
"properties": {
"addresses": {
"items": {
"properties": {
"address": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"type": {
"enum": [
"Hostname",
"ExternalIP",
"InternalIP",
"ExternalDNS",
"InternalDNS"
],
"type": "string"
}
},
"required": [
"address",
"type"
],
"type": "object"
},
"type": "array"
},
"cloudCredentialSecretName": {
"type": "string"
},
"conditions": {
"items": {
"properties": {
"lastTransitionTime": {
"type": "string"
},
"lastUpdateTime": {
"type": "string"
},
"message": {
"type": "string"
},
"reason": {
"type": "string"
},
"status": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"status",
"type"
],
"type": "object"
},
"type": "array"
},
"driverHash": {
"type": "string"
},
"driverUrl": {
"type": "string"
},
"failureMessage": {
"type": "string"
},
"failureReason": {
"type": "string"
},
"jobName": {
"type": "string"
},
"ready": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
}
@@ -0,0 +1,200 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"properties": {
"clusterName": {
"nullable": true,
"type": "string"
},
"template": {
"properties": {
"spec": {
"properties": {
"cloudConfig": {
"nullable": true,
"type": "string"
},
"clusterId": {
"nullable": true,
"type": "string"
},
"clusterName": {
"nullable": true,
"type": "string"
},
"clusterType": {
"nullable": true,
"type": "string"
},
"common": {
"properties": {
"cloudCredentialSecretName": {
"maxLength": 317,
"nullable": true,
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"nullable": true,
"type": "object"
},
"taints": {
"items": {
"properties": {
"effect": {
"type": "string"
},
"key": {
"type": "string"
},
"timeAdded": {
"format": "date-time",
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"effect",
"key"
],
"type": "object"
},
"nullable": true,
"type": "array"
}
},
"type": "object"
},
"cpuCount": {
"nullable": true,
"type": "string"
},
"cpuPinning": {
"type": "boolean"
},
"diskBus": {
"nullable": true,
"type": "string"
},
"diskInfo": {
"nullable": true,
"type": "string"
},
"diskSize": {
"nullable": true,
"type": "string"
},
"enableEfi": {
"type": "boolean"
},
"enableSecureBoot": {
"type": "boolean"
},
"enableTpm": {
"type": "boolean"
},
"imageName": {
"nullable": true,
"type": "string"
},
"isolateEmulatorThread": {
"type": "boolean"
},
"keyPairName": {
"nullable": true,
"type": "string"
},
"kubeconfigContent": {
"nullable": true,
"type": "string"
},
"memorySize": {
"nullable": true,
"type": "string"
},
"networkData": {
"nullable": true,
"type": "string"
},
"networkInfo": {
"nullable": true,
"type": "string"
},
"networkModel": {
"nullable": true,
"type": "string"
},
"networkName": {
"nullable": true,
"type": "string"
},
"networkType": {
"nullable": true,
"type": "string"
},
"providerID": {
"nullable": true,
"type": "string"
},
"reservedMemorySize": {
"nullable": true,
"type": "string"
},
"sshPassword": {
"nullable": true,
"type": "string"
},
"sshPort": {
"nullable": true,
"type": "string"
},
"sshPrivateKeyPath": {
"nullable": true,
"type": "string"
},
"sshUser": {
"nullable": true,
"type": "string"
},
"userData": {
"nullable": true,
"type": "string"
},
"vgpuInfo": {
"nullable": true,
"type": "string"
},
"vmAffinity": {
"nullable": true,
"type": "string"
},
"vmNamespace": {
"nullable": true,
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
@@ -0,0 +1,213 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"properties": {
"authorizedUsers": {
"nullable": true,
"type": "string"
},
"common": {
"properties": {
"cloudCredentialSecretName": {
"maxLength": 317,
"nullable": true,
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"nullable": true,
"type": "object"
},
"taints": {
"items": {
"properties": {
"effect": {
"type": "string"
},
"key": {
"type": "string"
},
"timeAdded": {
"format": "date-time",
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"effect",
"key"
],
"type": "object"
},
"nullable": true,
"type": "array"
}
},
"type": "object"
},
"createPrivateIp": {
"type": "boolean"
},
"dockerPort": {
"nullable": true,
"type": "string"
},
"image": {
"nullable": true,
"type": "string"
},
"instanceType": {
"nullable": true,
"type": "string"
},
"label": {
"nullable": true,
"type": "string"
},
"providerID": {
"nullable": true,
"type": "string"
},
"region": {
"nullable": true,
"type": "string"
},
"rootPass": {
"nullable": true,
"type": "string"
},
"sshPort": {
"nullable": true,
"type": "string"
},
"sshUser": {
"nullable": true,
"type": "string"
},
"stackscript": {
"nullable": true,
"type": "string"
},
"stackscriptData": {
"nullable": true,
"type": "string"
},
"swapSize": {
"nullable": true,
"type": "string"
},
"tags": {
"nullable": true,
"type": "string"
},
"token": {
"nullable": true,
"type": "string"
},
"uaPrefix": {
"nullable": true,
"type": "string"
}
},
"type": "object"
},
"status": {
"properties": {
"addresses": {
"items": {
"properties": {
"address": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"type": {
"enum": [
"Hostname",
"ExternalIP",
"InternalIP",
"ExternalDNS",
"InternalDNS"
],
"type": "string"
}
},
"required": [
"address",
"type"
],
"type": "object"
},
"type": "array"
},
"cloudCredentialSecretName": {
"type": "string"
},
"conditions": {
"items": {
"properties": {
"lastTransitionTime": {
"type": "string"
},
"lastUpdateTime": {
"type": "string"
},
"message": {
"type": "string"
},
"reason": {
"type": "string"
},
"status": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"status",
"type"
],
"type": "object"
},
"type": "array"
},
"driverHash": {
"type": "string"
},
"driverUrl": {
"type": "string"
},
"failureMessage": {
"type": "string"
},
"failureReason": {
"type": "string"
},
"jobName": {
"type": "string"
},
"ready": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
}
@@ -0,0 +1,144 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"properties": {
"clusterName": {
"nullable": true,
"type": "string"
},
"template": {
"properties": {
"spec": {
"properties": {
"authorizedUsers": {
"nullable": true,
"type": "string"
},
"common": {
"properties": {
"cloudCredentialSecretName": {
"maxLength": 317,
"nullable": true,
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"nullable": true,
"type": "object"
},
"taints": {
"items": {
"properties": {
"effect": {
"type": "string"
},
"key": {
"type": "string"
},
"timeAdded": {
"format": "date-time",
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"effect",
"key"
],
"type": "object"
},
"nullable": true,
"type": "array"
}
},
"type": "object"
},
"createPrivateIp": {
"type": "boolean"
},
"dockerPort": {
"nullable": true,
"type": "string"
},
"image": {
"nullable": true,
"type": "string"
},
"instanceType": {
"nullable": true,
"type": "string"
},
"label": {
"nullable": true,
"type": "string"
},
"providerID": {
"nullable": true,
"type": "string"
},
"region": {
"nullable": true,
"type": "string"
},
"rootPass": {
"nullable": true,
"type": "string"
},
"sshPort": {
"nullable": true,
"type": "string"
},
"sshUser": {
"nullable": true,
"type": "string"
},
"stackscript": {
"nullable": true,
"type": "string"
},
"stackscriptData": {
"nullable": true,
"type": "string"
},
"swapSize": {
"nullable": true,
"type": "string"
},
"tags": {
"nullable": true,
"type": "string"
},
"token": {
"nullable": true,
"type": "string"
},
"uaPrefix": {
"nullable": true,
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
@@ -0,0 +1,302 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"properties": {
"boot2dockerUrl": {
"nullable": true,
"type": "string"
},
"cfgparam": {
"items": {
"nullable": true,
"type": "string"
},
"nullable": true,
"type": "array"
},
"cloneFrom": {
"nullable": true,
"type": "string"
},
"cloudConfig": {
"nullable": true,
"type": "string"
},
"cloudinit": {
"nullable": true,
"type": "string"
},
"common": {
"properties": {
"cloudCredentialSecretName": {
"maxLength": 317,
"nullable": true,
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"nullable": true,
"type": "object"
},
"taints": {
"items": {
"properties": {
"effect": {
"type": "string"
},
"key": {
"type": "string"
},
"timeAdded": {
"format": "date-time",
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"effect",
"key"
],
"type": "object"
},
"nullable": true,
"type": "array"
}
},
"type": "object"
},
"contentLibrary": {
"nullable": true,
"type": "string"
},
"cpuCount": {
"nullable": true,
"type": "string"
},
"creationType": {
"nullable": true,
"type": "string"
},
"customAttribute": {
"items": {
"nullable": true,
"type": "string"
},
"nullable": true,
"type": "array"
},
"datacenter": {
"nullable": true,
"type": "string"
},
"datastore": {
"nullable": true,
"type": "string"
},
"datastoreCluster": {
"nullable": true,
"type": "string"
},
"diskSize": {
"nullable": true,
"type": "string"
},
"folder": {
"nullable": true,
"type": "string"
},
"gracefulShutdownTimeout": {
"nullable": true,
"type": "string"
},
"hostsystem": {
"nullable": true,
"type": "string"
},
"memorySize": {
"nullable": true,
"type": "string"
},
"network": {
"items": {
"nullable": true,
"type": "string"
},
"nullable": true,
"type": "array"
},
"os": {
"nullable": true,
"type": "string"
},
"password": {
"nullable": true,
"type": "string"
},
"pool": {
"nullable": true,
"type": "string"
},
"providerID": {
"nullable": true,
"type": "string"
},
"sshPassword": {
"nullable": true,
"type": "string"
},
"sshPort": {
"nullable": true,
"type": "string"
},
"sshUser": {
"nullable": true,
"type": "string"
},
"sshUserGroup": {
"nullable": true,
"type": "string"
},
"tag": {
"items": {
"nullable": true,
"type": "string"
},
"nullable": true,
"type": "array"
},
"username": {
"nullable": true,
"type": "string"
},
"vappIpallocationpolicy": {
"nullable": true,
"type": "string"
},
"vappIpprotocol": {
"nullable": true,
"type": "string"
},
"vappProperty": {
"items": {
"nullable": true,
"type": "string"
},
"nullable": true,
"type": "array"
},
"vappTransport": {
"nullable": true,
"type": "string"
},
"vcenter": {
"nullable": true,
"type": "string"
},
"vcenterPort": {
"nullable": true,
"type": "string"
}
},
"type": "object"
},
"status": {
"properties": {
"addresses": {
"items": {
"properties": {
"address": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"type": {
"enum": [
"Hostname",
"ExternalIP",
"InternalIP",
"ExternalDNS",
"InternalDNS"
],
"type": "string"
}
},
"required": [
"address",
"type"
],
"type": "object"
},
"type": "array"
},
"cloudCredentialSecretName": {
"type": "string"
},
"conditions": {
"items": {
"properties": {
"lastTransitionTime": {
"type": "string"
},
"lastUpdateTime": {
"type": "string"
},
"message": {
"type": "string"
},
"reason": {
"type": "string"
},
"status": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"status",
"type"
],
"type": "object"
},
"type": "array"
},
"driverHash": {
"type": "string"
},
"driverUrl": {
"type": "string"
},
"failureMessage": {
"type": "string"
},
"failureReason": {
"type": "string"
},
"jobName": {
"type": "string"
},
"ready": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
}
@@ -0,0 +1,233 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"apiVersion": {
"type": "string"
},
"kind": {
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"properties": {
"clusterName": {
"nullable": true,
"type": "string"
},
"template": {
"properties": {
"spec": {
"properties": {
"boot2dockerUrl": {
"nullable": true,
"type": "string"
},
"cfgparam": {
"items": {
"nullable": true,
"type": "string"
},
"nullable": true,
"type": "array"
},
"cloneFrom": {
"nullable": true,
"type": "string"
},
"cloudConfig": {
"nullable": true,
"type": "string"
},
"cloudinit": {
"nullable": true,
"type": "string"
},
"common": {
"properties": {
"cloudCredentialSecretName": {
"maxLength": 317,
"nullable": true,
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"nullable": true,
"type": "object"
},
"taints": {
"items": {
"properties": {
"effect": {
"type": "string"
},
"key": {
"type": "string"
},
"timeAdded": {
"format": "date-time",
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"effect",
"key"
],
"type": "object"
},
"nullable": true,
"type": "array"
}
},
"type": "object"
},
"contentLibrary": {
"nullable": true,
"type": "string"
},
"cpuCount": {
"nullable": true,
"type": "string"
},
"creationType": {
"nullable": true,
"type": "string"
},
"customAttribute": {
"items": {
"nullable": true,
"type": "string"
},
"nullable": true,
"type": "array"
},
"datacenter": {
"nullable": true,
"type": "string"
},
"datastore": {
"nullable": true,
"type": "string"
},
"datastoreCluster": {
"nullable": true,
"type": "string"
},
"diskSize": {
"nullable": true,
"type": "string"
},
"folder": {
"nullable": true,
"type": "string"
},
"gracefulShutdownTimeout": {
"nullable": true,
"type": "string"
},
"hostsystem": {
"nullable": true,
"type": "string"
},
"memorySize": {
"nullable": true,
"type": "string"
},
"network": {
"items": {
"nullable": true,
"type": "string"
},
"nullable": true,
"type": "array"
},
"os": {
"nullable": true,
"type": "string"
},
"password": {
"nullable": true,
"type": "string"
},
"pool": {
"nullable": true,
"type": "string"
},
"providerID": {
"nullable": true,
"type": "string"
},
"sshPassword": {
"nullable": true,
"type": "string"
},
"sshPort": {
"nullable": true,
"type": "string"
},
"sshUser": {
"nullable": true,
"type": "string"
},
"sshUserGroup": {
"nullable": true,
"type": "string"
},
"tag": {
"items": {
"nullable": true,
"type": "string"
},
"nullable": true,
"type": "array"
},
"username": {
"nullable": true,
"type": "string"
},
"vappIpallocationpolicy": {
"nullable": true,
"type": "string"
},
"vappIpprotocol": {
"nullable": true,
"type": "string"
},
"vappProperty": {
"items": {
"nullable": true,
"type": "string"
},
"nullable": true,
"type": "array"
},
"vappTransport": {
"nullable": true,
"type": "string"
},
"vcenter": {
"nullable": true,
"type": "string"
},
"vcenterPort": {
"nullable": true,
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}