-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add cluster-api provider nested schemas (#139)
- Loading branch information
Showing
1 changed file
with
55 additions
and
0 deletions.
There are no files selected for viewing
55 changes: 55 additions & 0 deletions
55
infrastructure.cluster.x-k8s.io/nestedcluster_v1alpha4.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |