Skip to content

Commit 764812f

Browse files
add MachineConfigNodeImagePulledFromRegistry to default condition list
1 parent dbeef3d commit 764812f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/upgrademonitor/upgrade_monitor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ func generateAndApplyMachineConfigNodes(
135135

136136
// we use this array to see if the MCN has all of its conditions set
137137
// if not we set a sane default
138-
// TODO: decide if the image reg stuff should be added here too
139138
allConditionTypes := []mcfgv1.StateProgress{
140139
mcfgv1.MachineConfigNodeUpdatePrepared,
141140
mcfgv1.MachineConfigNodeUpdateExecuted,
@@ -144,6 +143,7 @@ func generateAndApplyMachineConfigNodes(
144143
mcfgv1.MachineConfigNodeResumed,
145144
mcfgv1.MachineConfigNodeUpdateDrained,
146145
mcfgv1.MachineConfigNodeUpdateFilesAndOS,
146+
mcfgv1.MachineConfigNodeImagePulledFromRegistry,
147147
mcfgv1.MachineConfigNodeUpdateCordoned,
148148
mcfgv1.MachineConfigNodeUpdateRebooted,
149149
mcfgv1.MachineConfigNodeUpdated,

0 commit comments

Comments
 (0)