@@ -116,7 +116,7 @@ var _ = Describe("Reconcile Test", func() {
116116 cond := apimeta .FindStatusCondition (operator .Status .Conditions , operatorsv1alpha1 .TypeReady )
117117 Expect (cond ).NotTo (BeNil ())
118118 Expect (cond .Status ).To (Equal (metav1 .ConditionUnknown ))
119- Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonBundleDeploymentFailed ))
119+ Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonInstallationStatusUnknown ))
120120 Expect (cond .Message ).To (ContainSubstring ("waiting for bundleDeployment" ))
121121 })
122122 })
@@ -179,7 +179,7 @@ var _ = Describe("Reconcile Test", func() {
179179 cond := apimeta .FindStatusCondition (operator .Status .Conditions , operatorsv1alpha1 .TypeReady )
180180 Expect (cond ).NotTo (BeNil ())
181181 Expect (cond .Status ).To (Equal (metav1 .ConditionUnknown ))
182- Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonBundleDeploymentFailed ))
182+ Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonInstallationStatusUnknown ))
183183 Expect (cond .Message ).To (ContainSubstring ("waiting for bundleDeployment" ))
184184 })
185185 })
@@ -227,7 +227,7 @@ var _ = Describe("Reconcile Test", func() {
227227 cond := apimeta .FindStatusCondition (operator .Status .Conditions , operatorsv1alpha1 .TypeReady )
228228 Expect (cond ).NotTo (BeNil ())
229229 Expect (cond .Status ).To (Equal (metav1 .ConditionUnknown ))
230- Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonBundleDeploymentFailed ))
230+ Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonInstallationStatusUnknown ))
231231 Expect (cond .Message ).To (ContainSubstring ("waiting for bundleDeployment" ))
232232 })
233233 })
@@ -363,7 +363,7 @@ var _ = Describe("Reconcile Test", func() {
363363 cond := apimeta .FindStatusCondition (op .Status .Conditions , operatorsv1alpha1 .TypeReady )
364364 Expect (cond ).NotTo (BeNil ())
365365 Expect (cond .Status ).To (Equal (metav1 .ConditionUnknown ))
366- Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonBundleDeploymentFailed ))
366+ Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonInstallationStatusUnknown ))
367367 Expect (cond .Message ).To (ContainSubstring (`waiting for bundleDeployment` ))
368368 })
369369
@@ -393,7 +393,7 @@ var _ = Describe("Reconcile Test", func() {
393393 cond := apimeta .FindStatusCondition (op .Status .Conditions , operatorsv1alpha1 .TypeReady )
394394 Expect (cond ).NotTo (BeNil ())
395395 Expect (cond .Status ).To (Equal (metav1 .ConditionFalse ))
396- Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonBundleDeploymentFailed ))
396+ Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonInstallationFailed ))
397397 Expect (cond .Message ).To (ContainSubstring (`failed to unpack` ))
398398 })
399399
@@ -423,7 +423,7 @@ var _ = Describe("Reconcile Test", func() {
423423 cond := apimeta .FindStatusCondition (op .Status .Conditions , operatorsv1alpha1 .TypeReady )
424424 Expect (cond ).NotTo (BeNil ())
425425 Expect (cond .Status ).To (Equal (metav1 .ConditionFalse ))
426- Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonBundleDeploymentFailed ))
426+ Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonInstallationFailed ))
427427 Expect (cond .Message ).To (ContainSubstring (`failed to install` ))
428428 })
429429
@@ -490,7 +490,7 @@ var _ = Describe("Reconcile Test", func() {
490490 cond := apimeta .FindStatusCondition (op .Status .Conditions , operatorsv1alpha1 .TypeReady )
491491 Expect (cond ).NotTo (BeNil ())
492492 Expect (cond .Status ).To (Equal (metav1 .ConditionUnknown ))
493- Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonBundleDeploymentFailed ))
493+ Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonInstallationStatusUnknown ))
494494 Expect (cond .Message ).To (ContainSubstring (`could not determine the state of bundleDeployment` ))
495495 })
496496
@@ -520,7 +520,7 @@ var _ = Describe("Reconcile Test", func() {
520520 cond := apimeta .FindStatusCondition (op .Status .Conditions , operatorsv1alpha1 .TypeReady )
521521 Expect (cond ).NotTo (BeNil ())
522522 Expect (cond .Status ).To (Equal (metav1 .ConditionUnknown ))
523- Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonBundleDeploymentFailed ))
523+ Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonInstallationStatusUnknown ))
524524 Expect (cond .Message ).To (ContainSubstring (`could not determine the state of bundleDeployment` ))
525525 })
526526 })
0 commit comments