Skip to content

Commit

Permalink
fix: watch ipaddressclaim in openstackserver controller
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterKind committed Jan 23, 2025
1 parent d741f26 commit 5519450
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions controllers/openstackserver_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,10 @@ func (r *OpenStackServerReconciler) SetupWithManager(ctx context.Context, mgr ct
}),
builder.WithPredicates(predicates.NewBecameAvailable(mgr.GetLogger(), &orcv1alpha1.Image{})),
).
Watches(
&ipamv1.IPAddressClaim{},
handler.EnqueueRequestForOwner(mgr.GetScheme(), mgr.GetRESTMapper(), &infrav1alpha1.OpenStackServer{}),
).
Complete(r)
}

Expand Down

0 comments on commit 5519450

Please sign in to comment.