Repository navigation
Commit 619f90c
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 1e8e907 commit 619f90c
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
170 | 179 | | |
171 | 180 | | |
172 | 181 | | |
| |||
0 commit comments