fix
All checks were successful
Lint / Run on Ubuntu (push) Successful in 22s
Tests / Run on Ubuntu (push) Successful in 49s
Lint / Run on Ubuntu (pull_request) Successful in 20s
Tests / Run on Ubuntu (pull_request) Successful in 26s

This commit is contained in:
2025-05-04 20:06:54 +05:00
parent 8d581652a4
commit 6e32cf842a
2 changed files with 2 additions and 0 deletions

View File

@@ -208,6 +208,7 @@ func (r *DeploymentDefaultsReconciler) SetupWithManager(mgr ctrl.Manager) error
r.Recorder = mgr.GetEventRecorderFor("deploymentdefaults-controller") r.Recorder = mgr.GetEventRecorderFor("deploymentdefaults-controller")
return ctrl.NewControllerManagedBy(mgr). return ctrl.NewControllerManagedBy(mgr).
Named("deploymentdefaults").
For(&appsv1.Deployment{}). For(&appsv1.Deployment{}).
Watches( Watches(
&configv1alpha1.NodeTainterConfig{}, &configv1alpha1.NodeTainterConfig{},

View File

@@ -215,6 +215,7 @@ func (r *ImageUpdateReconciler) SetupWithManager(mgr ctrl.Manager) error {
r.Recorder = mgr.GetEventRecorderFor("imageupdate-controller") r.Recorder = mgr.GetEventRecorderFor("imageupdate-controller")
return ctrl.NewControllerManagedBy(mgr). return ctrl.NewControllerManagedBy(mgr).
Named("imageupdate").
For(&appsv1.Deployment{}). For(&appsv1.Deployment{}).
Complete(r) Complete(r)
} }