Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit cdbe128

Browse files
committed
make apis.sync
1 parent 65b39ae commit cdbe128

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

api/external/github.com/nutanix-cloud-native/cluster-api-provider-nutanix/api/v1beta1/nutanixcluster_types.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,14 @@ type NutanixClusterSpec struct {
4444

4545
// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane.
4646
// host can be either DNS name or ip address
47+
// +optional
4748
ControlPlaneEndpoint capiv1.APIEndpoint `json:"controlPlaneEndpoint"`
4849

4950
// prismCentral holds the endpoint address and port to access the Nutanix Prism Central.
5051
// When a cluster-wide proxy is installed, by default, this endpoint will be accessed via the proxy.
5152
// Should you wish for communication with this endpoint not to be proxied, please add the endpoint to the
5253
// proxy spec.noProxy list.
54+
// +optional
5355
PrismCentral *credentialTypes.NutanixPrismEndpoint `json:"prismCentral"`
5456

5557
// failureDomains configures failure domains information for the Nutanix platform.
@@ -58,7 +60,7 @@ type NutanixClusterSpec struct {
5860
// +listType=map
5961
// +listMapKey=name
6062
// +optional
61-
FailureDomains []NutanixFailureDomain `json:"failureDomains,omitempty"`
63+
FailureDomains []NutanixFailureDomain `json:"failureDomains"`
6264
}
6365

6466
// NutanixClusterStatus defines the observed state of NutanixCluster

api/external/github.com/nutanix-cloud-native/cluster-api-provider-nutanix/api/v1beta1/nutanixmachine_types.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ type NutanixMachineSpec struct {
7373
Subnets []NutanixResourceIdentifier `json:"subnet"`
7474
// List of categories that need to be added to the machines. Categories must already exist in Prism Central
7575
// +kubebuilder:validation:Optional
76-
// +optional
7776
AdditionalCategories []NutanixCategoryIdentifier `json:"additionalCategories,omitempty"`
7877
// Add the machine resources to a Prism Central project
7978
// +optional
@@ -95,7 +94,6 @@ type NutanixMachineSpec struct {
9594

9695
// List of GPU devices that need to be added to the machines.
9796
// +kubebuilder:validation:Optional
98-
// +optional
9997
GPUs []NutanixGPU `json:"gpus,omitempty"`
10098
}
10199

0 commit comments

Comments
 (0)