Skip to content

Commit e5d401f

Browse files
tolushaclaude
andauthored
chore: Set controller UsePriorityQueue to false (#2129)
The UsePriorityQueue field defaults to true since controller-runtime v0.23.0. This reverts the value to match pre-v0.23.0 functionality. See: devfile/devworkspace-operator#1635 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ba0bb89 commit e5d401f

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

controllers/che/checluster_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ func (r *CheClusterReconciler) SetupWithManager(mgr ctrl.Manager) error {
200200
return bld.WithOptions(
201201
controller.TypedOptions[reconcile.Request]{
202202
SkipNameValidation: pointer.Bool(true),
203+
UsePriorityQueue: pointer.Bool(false),
203204
}).Complete(r)
204205
}
205206

controllers/usernamespace/usernamespace_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ func (r *CheUserNamespaceReconciler) SetupWithManager(mgr ctrl.Manager) error {
106106
return bld.WithOptions(
107107
controller.TypedOptions[reconcile.Request]{
108108
SkipNameValidation: pointer.Bool(true),
109+
UsePriorityQueue: pointer.Bool(false),
109110
}).Complete(r)
110111
}
111112

controllers/workspaceconfig/workspaces_config_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ func (r *WorkspacesConfigReconciler) SetupWithManager(mgr ctrl.Manager) error {
151151
return bld.WithOptions(
152152
controller.TypedOptions[reconcile.Request]{
153153
SkipNameValidation: pointer.Bool(true),
154+
UsePriorityQueue: pointer.Bool(false),
154155
}).Complete(r)
155156
}
156157

0 commit comments

Comments
 (0)