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/machine_types.go
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -123,7 +123,15 @@ const (
123
123
const (
124
124
// MachineUpToDateV1Beta2Condition is true if the Machine spec matches the spec of the Machine's owner resource, e.g. KubeadmControlPlane or MachineDeployment.
125
125
// The Machine's owner (e.g. MachineDeployment) is authoritative to set their owned Machine's UpToDate conditions based on its current spec.
126
+
// NOTE: The Machine's owner might use this condition to surface also other use cases when Machine is considered not up to date, e.g. when MachineDeployment spec.rolloutAfter
127
+
// is expired and the Machine needs to be rolled out.
126
128
MachineUpToDateV1Beta2Condition="UpToDate"
129
+
130
+
// MachineUpToDateV1Beta2Reason surface when a Machine spec matches the spec of the Machine's owner resource, e.g. KubeadmControlPlane or MachineDeployment.
131
+
MachineUpToDateV1Beta2Reason="UpToDate"
132
+
133
+
// MachineNotUpToDateV1Beta2Reason surface when a Machine spec does not match the spec of the Machine's owner resource, e.g. KubeadmControlPlane or MachineDeployment.
134
+
MachineNotUpToDateV1Beta2Reason="NotUpToDate"
127
135
)
128
136
129
137
// Machine's BootstrapConfigReady condition and corresponding reasons that will be used in v1Beta2 API version.
// getInfraResources fetches the external infrastructure resource for each machine in the collection and returns a map of machine.Name -> infraResource.
0 commit comments