Skip to content

Commit 7605f9b

Browse files
Merge pull request #2439 from umohnani8/degrade
Add new ImageBuildDegraded status option for MCO
2 parents 6a7223e + b15c027 commit 7605f9b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

machineconfiguration/v1/types.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,10 @@ const (
636636
// MachineConfigPoolRenderDegraded means the rendered configuration for the pool cannot be generated because of an error
637637
MachineConfigPoolRenderDegraded MachineConfigPoolConditionType = "RenderDegraded"
638638

639+
// MachineConfigPoolImageBuildDegraded means the image build for the pool was not successful
640+
// This condition is only used when Image Mode is enabled for the pool
641+
MachineConfigPoolImageBuildDegraded MachineConfigPoolConditionType = "ImageBuildDegraded"
642+
639643
// MachineConfigPoolPinnedImageSetsDegraded means the pinned image sets for the pool cannot be populated because of an error
640644
// +openshift:enable:FeatureGate=PinnedImages
641645
MachineConfigPoolPinnedImageSetsDegraded MachineConfigPoolConditionType = "PinnedImageSetsDegraded"
@@ -644,7 +648,7 @@ const (
644648
// +openshift:enable:FeatureGate=PinnedImages
645649
MachineConfigPoolSynchronizerDegraded MachineConfigPoolConditionType = "PoolSynchronizerDegraded"
646650

647-
// MachineConfigPoolDegraded is the overall status of the pool based, today, on whether we fail with NodeDegraded or RenderDegraded
651+
// MachineConfigPoolDegraded is the overall status of the pool based, today, on whether we fail with NodeDegraded, RenderDegraded, or ImageBuildDegraded
648652
MachineConfigPoolDegraded MachineConfigPoolConditionType = "Degraded"
649653

650654
MachineConfigPoolBuildPending MachineConfigPoolConditionType = "BuildPending"

0 commit comments

Comments
 (0)