Skip to content

Commit

Permalink
Fix RBAC permissions for visibility into Local Queues
Browse files Browse the repository at this point in the history
  • Loading branch information
PBundyra committed Dec 6, 2023
1 parent d91a7d5 commit 006d62c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# permissions for end users to view pending workloads.
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
kind: ClusterRole
metadata:
name: '{{ include "kueue.fullname" . }}-pending-workloads-lq-viewer-role'
namespace: '{{ .Release.Namespace }}'
labels:
rbac.kueue.x-k8s.io/batch-admin: "true"
rbac.kueue.x-k8s.io/batch-user: "true"
Expand Down
3 changes: 1 addition & 2 deletions config/components/rbac/pending_workloads_lq_viewer_role.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# permissions for end users to view pending workloads.
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
kind: ClusterRole
metadata:
name: pending-workloads-lq-viewer-role
namespace: default
labels:
rbac.kueue.x-k8s.io/batch-admin: "true"
rbac.kueue.x-k8s.io/batch-user: "true"
Expand Down

0 comments on commit 006d62c

Please sign in to comment.