From 40c90659065df1b38505f2fe57b9a2887866e514 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 23 Mar 2026 22:52:00 +0000 Subject: [PATCH 1/2] Initial plan From f95ac6a501ebfb5bb53893060379de662000a5cc Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 23 Mar 2026 22:54:30 +0000 Subject: [PATCH 2/2] fix: use DeletionHandlingMetaNamespaceKeyFunc in DeleteFunc for tombstone support Co-authored-by: bdehamer <398027+bdehamer@users.noreply.github.com> Agent-Logs-Url: https://github.com/github/deployment-tracker/sessions/620a8570-c815-4b5f-95cd-25d107fcd82a --- internal/controller/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/controller/handlers.go b/internal/controller/handlers.go index aa1e898..c5cca11 100644 --- a/internal/controller/handlers.go +++ b/internal/controller/handlers.go @@ -103,7 +103,7 @@ func (c *Controller) registerEventHandlers() error { return } - key, err := cache.MetaNamespaceKeyFunc(obj) + key, err := cache.DeletionHandlingMetaNamespaceKeyFunc(obj) // For our purposes, there are in practice // no error event we care about, so don't // bother with handling it.