Skip to content

Commit 2d68ae1

Browse files
committed
Mark all remaining Machine, MHC and MachinePool array fields as atomic
Signed-off-by: Stefan Büringer buringerst@vmware.com
1 parent 145c98b commit 2d68ae1

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

api/core/v1beta2/machine_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,7 @@ type MachineStatus struct {
531531
// addresses is a list of addresses assigned to the machine.
532532
// This field is copied from the infrastructure provider reference.
533533
// +optional
534+
// +listType=atomic
534535
Addresses MachineAddresses `json:"addresses,omitempty"`
535536

536537
// phase represents the current phase of machine actuation.

api/core/v1beta2/machinehealthcheck_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ type MachineHealthCheckSpec struct {
6565
// logical OR, i.e. if any of the conditions is met, the node is unhealthy.
6666
//
6767
// +optional
68+
// +listType=atomic
6869
// +kubebuilder:validation:MaxItems=100
6970
UnhealthyNodeConditions []UnhealthyNodeCondition `json:"unhealthyNodeConditions,omitempty"`
7071

api/core/v1beta2/machinepool_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ type MachinePoolStatus struct {
124124

125125
// nodeRefs will point to the corresponding Nodes if it they exist.
126126
// +optional
127+
// +listType=atomic
127128
// +kubebuilder:validation:MaxItems=10000
128129
NodeRefs []corev1.ObjectReference `json:"nodeRefs,omitempty"`
129130

0 commit comments

Comments
 (0)