From 6f09ed2f8c919655518b236c16d413bc4282acaa Mon Sep 17 00:00:00 2001 From: Adam Cattermole Date: Wed, 20 Sep 2023 13:20:12 +0100 Subject: [PATCH] Add log for when authconfig is no longer watched --- controllers/auth_config_controller.go | 1 + 1 file changed, 1 insertion(+) diff --git a/controllers/auth_config_controller.go b/controllers/auth_config_controller.go index 41610aa8..c14f9788 100644 --- a/controllers/auth_config_controller.go +++ b/controllers/auth_config_controller.go @@ -99,6 +99,7 @@ func (r *AuthConfigReconciler) Reconcile(ctx context.Context, req ctrl.Request) r.Index.Delete(resourceId) r.StatusReport.Clear(resourceId) reportReconciled = false + logger.Info("resource de-indexed") } else { // resource found and it is to be watched by this controller // we need to either create it or update it in the index