Commit e40a2e5
authored
dv, conditions: AnnPodSchedulable should overwrite AnnRunningCondition (#3799)
With #3753
a new annotation AnnPodSchedulable was introduced to allow updating the
running condition of an importer Pod that was unschedulable.
This commit makes it so the unschedulable condition takes precedence
over AnnRunningCondition otherwise a race can occur where
initial Pod creation failure sets the running condition to an erroneous one indefinitely
as the Pod never finishes scheduling and thus never updates.
Signed-off-by: Adi Aloni <[email protected]>1 parent b6b7468 commit e40a2e5
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| |||
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
78 | | - | |
79 | | - | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
0 commit comments