Skip to content

Commit 19c90e8

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 8fc263a commit 19c90e8

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

api/core/v1beta2/common_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ type MachineAddress struct {
303303

304304
// MachineAddresses is a slice of MachineAddress items to be used by infrastructure providers.
305305
// +kubebuilder:validation:MaxItems=32
306+
// +listType=atomic
306307
type MachineAddresses []MachineAddress
307308

308309
// ObjectMeta is metadata that all persisted resources must have, which includes all objects

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)