Commit 60a130e
fix: prevent
The `MachineSetStatus` resource getting modified in the finalizer removal function was causing it to go into a create/delete loop, filling up etcd. This issue is only observable when the `MachineSet` had the `MachineProvisionController` finalizer (when an infra provider is used).
Change the modify function to effectively be an update, never create the resource.
The fix is tested in a staging environment and confirmed to be resolving the issue.
Co-authored-by: Artem Chernyshev <[email protected]>
Signed-off-by: Utku Ozdemir <[email protected]>MachineSetStatus from going into create/destroy loop1 parent e38b3b9 commit 60a130e
File tree
1 file changed
+14
-1
lines changed- internal/backend/runtime/omni/controllers/omni
1 file changed
+14
-1
lines changedLines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
213 | 214 | | |
214 | 215 | | |
215 | 216 | | |
216 | | - | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
217 | 225 | | |
218 | 226 | | |
219 | 227 | | |
| |||
223 | 231 | | |
224 | 232 | | |
225 | 233 | | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
226 | 239 | | |
227 | 240 | | |
228 | 241 | | |
| |||
0 commit comments