You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/v1beta1/proxmoxmachine_types.go
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -34,20 +34,22 @@ type ProxmoxMachineSpec struct {
34
34
ProviderID*string`json:"providerID,omitempty"`
35
35
36
36
// Node is proxmox node hosting vm instance which used for ProxmoxMachine
37
-
// +optional
38
37
Nodestring`json:"node,omitempty"`
39
38
39
+
// Storage is name of proxmox storage used by this node.
40
+
// The storage must support "images(VM Disks)" type of content.
41
+
// cappx will use random storage if empty
42
+
Storagestring`json:"storage,omitempty"`
43
+
40
44
// +kubebuilder:validation:Minimum:=0
41
45
// VMID is proxmox qemu's id
42
-
// +optional
43
46
VMID*int`json:"vmID,omitempty"`
44
47
45
48
// Image is the image to be provisioned
46
49
ImageImage`json:"image"`
47
50
48
51
// CloudInit defines options related to the bootstrapping systems where
49
52
// CloudInit is used.
50
-
// +optional
51
53
CloudInitCloudInit`json:"cloudInit,omitempty"`
52
54
53
55
// Hardware
@@ -56,8 +58,7 @@ type ProxmoxMachineSpec struct {
56
58
// Network
57
59
NetworkNetwork`json:"network,omitempty"`
58
60
59
-
// Options
60
-
// +optional
61
+
// Options for QEMU instance
61
62
OptionsOptions`json:"options,omitempty"`
62
63
63
64
// FailureDomain is the failure domain unique identifier this Machine should be attached to, as defined in Cluster API.
@@ -94,7 +95,9 @@ type ProxmoxMachineStatus struct {
94
95
//+kubebuilder:subresource:status
95
96
// +kubebuilder:printcolumn:name="Cluster",type="string",JSONPath=".metadata.labels.cluster\\.x-k8s\\.io/cluster-name",description="Cluster to which this VSphereMachine belongs"
96
97
// +kubebuilder:printcolumn:name="Machine",type="string",JSONPath=".metadata.ownerReferences[?(@.kind==\"Machine\")].name",description="Machine object which owns with this ProxmoxMachine",priority=1
0 commit comments