From 9204ce6e51a2e397575d091e1e443057cfa1a381 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Harald=20Jens=C3=A5s?= Date: Wed, 22 Oct 2025 12:04:49 +0200 Subject: [PATCH] inspector: Add Owns() for ks Service Endpoint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The IronicInspector controller creates KeystoneService and KeystoneEndpoint resources but was missing the Owns() declarations in SetupWithManager(). This could prevent proper reconciliation if these resources are modified or deleted. This aligns the inspector controller with the ironicapi controller pattern. Signed-off-by: Harald Jensås --- controllers/ironicinspector_controller.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/controllers/ironicinspector_controller.go b/controllers/ironicinspector_controller.go index 0ed21d77..ea060f06 100644 --- a/controllers/ironicinspector_controller.go +++ b/controllers/ironicinspector_controller.go @@ -367,6 +367,8 @@ func (r *IronicInspectorReconciler) SetupWithManager( return ctrl.NewControllerManagedBy(mgr). For(&ironicv1.IronicInspector{}). + Owns(&keystonev1.KeystoneService{}). + Owns(&keystonev1.KeystoneEndpoint{}). Owns(&corev1.Secret{}). Owns(&routev1.Route{}). Owns(&corev1.Service{}).