Skip to content

Commit

Permalink
add cluster-api provider nested schemas (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
itspngu authored Mar 21, 2023
1 parent 052c118 commit 4677532
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions infrastructure.cluster.x-k8s.io/nestedcluster_v1alpha4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"description": "NestedCluster is the Schema for the nestedclusters API.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "NestedClusterSpec defines the desired state of NestedCluster.",
"properties": {
"controlPlaneEndpoint": {
"description": "ControlPlaneEndpoint represents the endpoint used to communicate with the control plane.",
"properties": {
"host": {
"description": "The hostname on which the API server is serving.",
"type": "string"
},
"port": {
"description": "The port on which the API server is serving.",
"format": "int32",
"type": "integer"
}
},
"required": [
"host",
"port"
],
"type": "object",
"additionalProperties": false
}
},
"type": "object",
"additionalProperties": false
},
"status": {
"description": "NestedClusterStatus defines the observed state of NestedCluster.",
"properties": {
"ready": {
"description": "Ready is when the NestedControlPlane has a API server URL.",
"type": "boolean"
}
},
"type": "object",
"additionalProperties": false
}
},
"type": "object"
}

0 comments on commit 4677532

Please sign in to comment.