Repository navigation
Commit 5fde2e4
fix: enter deletion path immediately when cluster is being deleted (#9555)
When a cluster has DeletionTimestamp set, skip normal reconciliation and
enter the deletion path immediately. This prevents accumulating
exponential backoff from failed attempts to create resources in a
terminating namespace.
Additionally, handle optimistic locking conflicts during finalizer
removal by requeueing after 1 second instead of returning an error,
avoiding unnecessary backoff delays.
Closes #9554
Signed-off-by: Marco Nenciarini <[email protected]>
Signed-off-by: Armando Ruocco <[email protected]>
Co-authored-by: Armando Ruocco <[email protected]>
(cherry picked from commit 36b2304)1 parent 9d5bc29 commit 5fde2e4
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
176 | 185 | | |
177 | 186 | | |
178 | 187 | | |
| |||
0 commit comments