Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
dchourasia committed Sep 5, 2024
2 parents 9c6dcbf + 8fa9455 commit ea73fcf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 10 additions & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,16 @@ rules:
- patch
- update
- watch
- apiGroups:
- kueue.x-k8s.io
resources:
- clusterqueues
verbs:
- get
- list
- patch
- update
- watch
- apiGroups:
- kueue.x-k8s.io
resources:
Expand Down
3 changes: 2 additions & 1 deletion pkg/controllers/appwrapper_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ package controllers
// +kubebuilder:rbac:groups=kueue.x-k8s.io,resources=resourceflavors,verbs=get;list;watch
// +kubebuilder:rbac:groups=kueue.x-k8s.io,resources=workloadpriorityclasses,verbs=get;list;watch

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

0 comments on commit ea73fcf

Please sign in to comment.