We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 16ef17b + cae7f7c commit f726f48Copy full SHA for f726f48
Cargo.toml
@@ -1,6 +1,6 @@
1
[package]
2
name = "k8s-controller"
3
-version = "0.8.0"
+version = "0.9.0"
4
edition = "2024"
5
rust-version = "1.89.0"
6
src/controller.rs
@@ -357,7 +357,7 @@ pub trait Context {
357
})
358
.await
359
.map_err(Error::FinalizerError)
360
- } else {
+ } else if resource.meta().deletion_timestamp.is_none() {
361
ran = true;
362
event!(
363
Level::INFO,
@@ -374,6 +374,8 @@ pub trait Context {
374
} else {
375
self.success_action(&resource)
376
377
+ } else {
378
+ Ok(Action::await_change())
379
};
380
if !ran {
381
0 commit comments