Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Adem Baccara <[email protected]>
  • Loading branch information
Adembc committed Feb 12, 2025
1 parent 838baa5 commit ce8ed92
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion workspaces/controller/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ func main() {
setupLog.Error(err, "unable to create clientset")
os.Exit(1)
}
// +kubebuilder:scaffold:builder
if err = (&controllerInternal.CullingReconciler{
Client: mgr.GetClient(),
Scheme: mgr.GetScheme(),
Expand Down
1 change: 1 addition & 0 deletions workspaces/controller/config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ resources:
images:
- name: controller
newName: ghcr.io/kubeflow/notebooks/workspace-controller
newTag: latest
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ func (r *CullingReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ct
func (r *CullingReconciler) SetupWithManager(mgr ctrl.Manager) error {

return ctrl.NewControllerManagedBy(mgr).
For(&kubefloworgv1beta1.Workspace{}).
For(&kubefloworgv1beta1.Workspace{}).Named("culling_controller").
Complete(r)
}

Expand Down

0 comments on commit ce8ed92

Please sign in to comment.