Skip to content

Commit ea73fcf

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents 9c6dcbf + 8fa9455 commit ea73fcf

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

config/rbac/role.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,16 @@ rules:
168168
- patch
169169
- update
170170
- watch
171+
- apiGroups:
172+
- kueue.x-k8s.io
173+
resources:
174+
- clusterqueues
175+
verbs:
176+
- get
177+
- list
178+
- patch
179+
- update
180+
- watch
171181
- apiGroups:
172182
- kueue.x-k8s.io
173183
resources:

pkg/controllers/appwrapper_controller.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,6 @@ package controllers
4242
// +kubebuilder:rbac:groups=kueue.x-k8s.io,resources=resourceflavors,verbs=get;list;watch
4343
// +kubebuilder:rbac:groups=kueue.x-k8s.io,resources=workloadpriorityclasses,verbs=get;list;watch
4444

45-
// permission to watch nodes for Autopilot integration
45+
// permission to watch nodes and edit clusterqueues for Autopilot integration
4646
//+kubebuilder:rbac:groups="",resources=nodes,verbs=get;list;watch
47+
//+kubebuilder:rbac:groups=kueue.x-k8s.io,resources=clusterqueues,verbs=get;list;watch;update;patch

0 commit comments

Comments
 (0)