This repository was archived by the owner on Apr 11, 2024. It is now read-only.
File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 4
4
package v1alpha1
5
5
6
6
import (
7
+ "k8s.io/apimachinery/pkg/api/resource"
7
8
clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1"
8
9
9
10
capxv1 "github.com/d2iq-labs/cluster-api-runtime-extensions-nutanix/api/external/github.com/nutanix-cloud-native/cluster-api-provider-nutanix/api/v1beta1"
@@ -18,7 +19,7 @@ type NutanixNodeSpec struct {
18
19
VCPUSockets int32 `json:"vcpuSockets"`
19
20
20
21
// memorySize is the memory size (in Quantity format) of the VM
21
- MemorySize string `json:"memorySize"`
22
+ MemorySize resource. Quantity `json:"memorySize"`
22
23
23
24
// image is to identify the rhcos image uploaded to the Prism Central (PC)
24
25
// The image identifier (uuid or name) can be obtained from the Prism Central console
@@ -41,7 +42,7 @@ type NutanixNodeSpec struct {
41
42
42
43
// systemDiskSize is size (in Quantity format) of the system disk of the VM
43
44
// The minimum systemDiskSize is 20Gi bytes
44
- SystemDiskSize string `json:"systemDiskSize"`
45
+ SystemDiskSize resource. Quantity `json:"systemDiskSize"`
45
46
}
46
47
47
48
func (NutanixNodeSpec ) VariableSchema () clusterv1.VariableSchema {
You can’t perform that action at this time.
0 commit comments