-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update and add cluster api azure CRD (#359)
- Loading branch information
Showing
19 changed files
with
3,175 additions
and
416 deletions.
There are no files selected for viewing
105 changes: 105 additions & 0 deletions
105
infrastructure.cluster.x-k8s.io/azureasomanagedcluster_v1alpha1.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,105 @@ | ||
{ | ||
"description": "AzureASOManagedCluster is the Schema for the azureasomanagedclusters API.", | ||
"properties": { | ||
"apiVersion": { | ||
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore 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.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", | ||
"type": "string" | ||
}, | ||
"metadata": { | ||
"type": "object" | ||
}, | ||
"spec": { | ||
"description": "AzureASOManagedClusterSpec defines the desired state of AzureASOManagedCluster.", | ||
"properties": { | ||
"controlPlaneEndpoint": { | ||
"description": "ControlPlaneEndpoint is the location of the API server within the control plane. CAPZ manages this field\nand it should not be set by the user. It fulfills Cluster API's cluster infrastructure provider contract.\nBecause this field is programmatically set by CAPZ after resource creation, we define it as +optional\nin the API schema to permit resource admission.", | ||
"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 | ||
}, | ||
"resources": { | ||
"description": "Resources are embedded ASO resources to be managed by this resource.", | ||
"items": { | ||
"type": "object", | ||
"x-kubernetes-preserve-unknown-fields": true | ||
}, | ||
"type": "array" | ||
} | ||
}, | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"status": { | ||
"description": "AzureASOManagedClusterStatus defines the observed state of AzureASOManagedCluster.", | ||
"properties": { | ||
"ready": { | ||
"description": "Ready represents whether or not the cluster has been provisioned and is ready. It fulfills Cluster\nAPI's cluster infrastructure provider contract.", | ||
"type": "boolean" | ||
}, | ||
"resources": { | ||
"items": { | ||
"description": "ResourceStatus represents the status of a resource.", | ||
"properties": { | ||
"ready": { | ||
"type": "boolean" | ||
}, | ||
"resource": { | ||
"description": "StatusResource is a handle to a resource.", | ||
"properties": { | ||
"group": { | ||
"type": "string" | ||
}, | ||
"kind": { | ||
"type": "string" | ||
}, | ||
"name": { | ||
"type": "string" | ||
}, | ||
"version": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"group", | ||
"kind", | ||
"name", | ||
"version" | ||
], | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": [ | ||
"ready", | ||
"resource" | ||
], | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"type": "array" | ||
} | ||
}, | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"type": "object" | ||
} |
49 changes: 49 additions & 0 deletions
49
infrastructure.cluster.x-k8s.io/azureasomanagedclustertemplate_v1alpha1.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,49 @@ | ||
{ | ||
"description": "AzureASOManagedClusterTemplate is the Schema for the azureasomanagedclustertemplates API.", | ||
"properties": { | ||
"apiVersion": { | ||
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore 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.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", | ||
"type": "string" | ||
}, | ||
"metadata": { | ||
"type": "object" | ||
}, | ||
"spec": { | ||
"description": "AzureASOManagedClusterTemplateSpec defines the desired state of AzureASOManagedClusterTemplate.", | ||
"properties": { | ||
"template": { | ||
"description": "AzureASOManagedClusterTemplateResource defines the templated resource.", | ||
"properties": { | ||
"spec": { | ||
"description": "AzureASOManagedClusterTemplateResourceSpec defines the desired state of the templated resource.", | ||
"properties": { | ||
"resources": { | ||
"description": "Resources are embedded ASO resources to be managed by this resource.", | ||
"items": { | ||
"type": "object", | ||
"x-kubernetes-preserve-unknown-fields": true | ||
}, | ||
"type": "array" | ||
} | ||
}, | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": [ | ||
"template" | ||
], | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"type": "object" | ||
} |
117 changes: 117 additions & 0 deletions
117
infrastructure.cluster.x-k8s.io/azureasomanagedcontrolplane_v1alpha1.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,117 @@ | ||
{ | ||
"description": "AzureASOManagedControlPlane is the Schema for the azureasomanagedcontrolplanes API.", | ||
"properties": { | ||
"apiVersion": { | ||
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore 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.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", | ||
"type": "string" | ||
}, | ||
"metadata": { | ||
"type": "object" | ||
}, | ||
"spec": { | ||
"description": "AzureASOManagedControlPlaneSpec defines the desired state of AzureASOManagedControlPlane.", | ||
"properties": { | ||
"resources": { | ||
"description": "Resources are embedded ASO resources to be managed by this resource.", | ||
"items": { | ||
"type": "object", | ||
"x-kubernetes-preserve-unknown-fields": true | ||
}, | ||
"type": "array" | ||
}, | ||
"version": { | ||
"description": "Version is the Kubernetes version of the control plane. It fulfills Cluster API's control plane\nprovider contract.", | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"status": { | ||
"description": "AzureASOManagedControlPlaneStatus defines the observed state of AzureASOManagedControlPlane.", | ||
"properties": { | ||
"controlPlaneEndpoint": { | ||
"description": "ControlPlaneEndpoint represents the endpoint for the cluster's API server.", | ||
"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 | ||
}, | ||
"initialized": { | ||
"description": "Initialized represents whether or not the API server has been provisioned. It fulfills Cluster API's\ncontrol plane provider contract. For AKS, this is equivalent to `ready`.", | ||
"type": "boolean" | ||
}, | ||
"ready": { | ||
"description": "Ready represents whether or not the API server is ready to receive requests. It fulfills Cluster API's\ncontrol plane provider contract. For AKS, this is equivalent to `initialized`.", | ||
"type": "boolean" | ||
}, | ||
"resources": { | ||
"items": { | ||
"description": "ResourceStatus represents the status of a resource.", | ||
"properties": { | ||
"ready": { | ||
"type": "boolean" | ||
}, | ||
"resource": { | ||
"description": "StatusResource is a handle to a resource.", | ||
"properties": { | ||
"group": { | ||
"type": "string" | ||
}, | ||
"kind": { | ||
"type": "string" | ||
}, | ||
"name": { | ||
"type": "string" | ||
}, | ||
"version": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"group", | ||
"kind", | ||
"name", | ||
"version" | ||
], | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": [ | ||
"ready", | ||
"resource" | ||
], | ||
"type": "object", | ||
"additionalProperties": false | ||
}, | ||
"type": "array" | ||
}, | ||
"version": { | ||
"description": "Version is the observed Kubernetes version of the control plane. It fulfills Cluster API's control\nplane provider contract.", | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"type": "object" | ||
} |
53 changes: 53 additions & 0 deletions
53
infrastructure.cluster.x-k8s.io/azureasomanagedcontrolplanetemplate_v1alpha1.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,53 @@ | ||
{ | ||
"description": "AzureASOManagedControlPlaneTemplate is the Schema for the azureasomanagedcontrolplanetemplates API.", | ||
"properties": { | ||
"apiVersion": { | ||
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore 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.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", | ||
"type": "string" | ||
}, | ||
"metadata": { | ||
"type": "object" | ||
}, | ||
"spec": { | ||
"description": "AzureASOManagedControlPlaneTemplateSpec defines the desired state of AzureASOManagedControlPlane.", | ||
"properties": { | ||
"template": { | ||
"description": "AzureASOManagedControlPlaneResource defines the templated resource.", | ||
"properties": { | ||
"spec": { | ||
"description": "AzureASOManagedControlPlaneTemplateResourceSpec defines the desired state of the templated resource.", | ||
"properties": { | ||
"resources": { | ||
"description": "Resources are embedded ASO resources to be managed by this resource.", | ||
"items": { | ||
"type": "object", | ||
"x-kubernetes-preserve-unknown-fields": true | ||
}, | ||
"type": "array" | ||
}, | ||
"version": { | ||
"description": "Version is the Kubernetes version of the control plane. It fulfills Cluster API's control plane\nprovider contract.", | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": [ | ||
"template" | ||
], | ||
"type": "object", | ||
"additionalProperties": false | ||
} | ||
}, | ||
"type": "object" | ||
} |
Oops, something went wrong.