Skip to content

Commit

Permalink
feat: add aggregated label to cluster role
Browse files Browse the repository at this point in the history
  • Loading branch information
wanglijie6 committed Dec 2, 2024
1 parent 43f20d6 commit 01fb902
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
labels: {{ include "kuberay-operator.labels" . | nindent 4 }}
name: rayjob-editor-role
labels:
rbac.authorization.k8s.io/aggregate-to-edit: "true"
rules:
- apiGroups:
- ray.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
labels: {{ include "kuberay-operator.labels" . | nindent 4 }}
name: rayjob-viewer-role
labels:
rbac.authorization.k8s.io/aggregate-to-view: "true"
rules:
- apiGroups:
- ray.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: rayservice-editor-role
labels:
rbac.authorization.k8s.io/aggregate-to-edit: "true"
rules:
- apiGroups:
- ray.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: rayservice-viewer-role
labels:
rbac.authorization.k8s.io/aggregate-to-view: "true"
rules:
- apiGroups:
- ray.io
Expand Down

0 comments on commit 01fb902

Please sign in to comment.