Skip to content

Commit ce8ed92

Browse files
committed
fix tests
Signed-off-by: Adem Baccara <71262172+Adembc@users.noreply.github.com>
1 parent 838baa5 commit ce8ed92

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

workspaces/controller/cmd/main.go

-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ func main() {
154154
setupLog.Error(err, "unable to create clientset")
155155
os.Exit(1)
156156
}
157-
// +kubebuilder:scaffold:builder
158157
if err = (&controllerInternal.CullingReconciler{
159158
Client: mgr.GetClient(),
160159
Scheme: mgr.GetScheme(),

workspaces/controller/config/manager/kustomization.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ resources:
55
images:
66
- name: controller
77
newName: ghcr.io/kubeflow/notebooks/workspace-controller
8+
newTag: latest

workspaces/controller/internal/controller/culling_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ func (r *CullingReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ct
321321
func (r *CullingReconciler) SetupWithManager(mgr ctrl.Manager) error {
322322

323323
return ctrl.NewControllerManagedBy(mgr).
324-
For(&kubefloworgv1beta1.Workspace{}).
324+
For(&kubefloworgv1beta1.Workspace{}).Named("culling_controller").
325325
Complete(r)
326326
}
327327

0 commit comments

Comments
 (0)