From 06cc21f82b85b5b3998efb3fab928423c7240fe6 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 16 Dec 2025 13:46:43 -0500 Subject: [PATCH 1/2] ensure we don't run the reconciler for resources that are being deleted --- src/controller.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/controller.rs b/src/controller.rs index 890b43b..e68a898 100644 --- a/src/controller.rs +++ b/src/controller.rs @@ -357,7 +357,7 @@ pub trait Context { }) .await .map_err(Error::FinalizerError) - } else { + } else if resource.meta().deletion_timestamp.is_none() { ran = true; event!( Level::INFO, @@ -374,6 +374,8 @@ pub trait Context { } else { self.success_action(&resource) }) + } else { + Ok(Action::await_change()) }; if !ran { event!( From cae7f7c9731afd26e1a6d78c23c8a9f6ccddd2f3 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 17 Dec 2025 12:16:25 -0500 Subject: [PATCH 2/2] version bump --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5721fdd..b9cedf1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "k8s-controller" -version = "0.8.0" +version = "0.9.0" edition = "2024" rust-version = "1.89.0"