Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 29 additions & 6 deletions config/base/tekton_scheduler_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,43 @@ rules:
- kueue.x-k8s.io
resources:
- resourceflavors
- workloads
- workloads/finalizers
- workloads/status
- workloadpriorityclasses
verbs:
- get
- list
- watch
- apiGroups:
- kueue.x-k8s.io
resources:
- workloadpriorityclasses
verbs:
- create
- apiGroups:
- kueue.x-k8s.io
resources:
- workloads
verbs:
- create
- update
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- kueue.x-k8s.io
resources:
- workloads/finalizers
verbs:
- update
- apiGroups:
- kueue.x-k8s.io
resources:
- workloads/status
verbs:
- get
- patch
- update
- apiGroups:
- scheduling.k8s.io
resources:
Expand All @@ -49,8 +74,6 @@ rules:
verbs:
- get
- create
- update
- list
- nonResourceURLs:
- /metrics
verbs:
Expand Down
6 changes: 3 additions & 3 deletions config/base/tekton_scheduler_role_binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: tekton-scheduler-rolebinding
subjects:
- kind: Group
apiGroup: rbac.authorization.k8s.io
name: 'system:authenticated'
- kind: ServiceAccount
name: tekton-operator
namespace: tekton-operator
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
Expand Down
Loading