File tree 6 files changed +77
-63
lines changed
helm-chart/kuberay-operator
6 files changed +77
-63
lines changed Original file line number Diff line number Diff line change 1
1
apiVersion : v2
2
2
description : A Helm chart for Kubernetes
3
3
name : kuberay-operator
4
- version : 1.1.0
4
+ version : 1.1.1
5
5
icon : https://github.com/ray-project/ray/raw/master/doc/source/images/ray_header_logo.png
6
6
type : application
Original file line number Diff line number Diff line change
1
+ # permissions for end users to view rayjobs.
2
+ {{- if and .Values.rbacEnable (not .Values.singleNamespaceInstall) }}
3
+ ---
4
+ kind : ClusterRole
5
+ apiVersion : rbac.authorization.k8s.io/v1
6
+ metadata :
7
+ name : raycluster-viewer-role
8
+ labels :
9
+ rbac.authorization.k8s.io/aggregate-to-view : " true"
10
+ rules :
11
+ - apiGroups :
12
+ - ray.io
13
+ resources :
14
+ - rayjobs
15
+ - rayjobs/status
16
+ verbs :
17
+ - get
18
+ - list
19
+ - watch
20
+ ---
21
+ kind : ClusterRole
22
+ apiVersion : rbac.authorization.k8s.io/v1
23
+ metadata :
24
+ name : raycluster-editor-role
25
+ labels :
26
+ rbac.authorization.k8s.io/aggregate-to-edit : " true"
27
+ rules :
28
+ - apiGroups :
29
+ - ray.io
30
+ resources :
31
+ - rayjobs
32
+ verbs :
33
+ - create
34
+ - update
35
+ - delete
36
+ - patch
37
+ - deletecollection
38
+ {{- end }}
Original file line number Diff line number Diff line change 1
1
# permissions for end users to edit rayjobs.
2
2
{{- if and .Values.rbacEnable (not .Values.singleNamespaceInstall) }}
3
-
3
+ ---
4
4
kind : ClusterRole
5
5
apiVersion : rbac.authorization.k8s.io/v1
6
6
metadata :
7
- labels : {{ include "kuberay-operator.labels" . | nindent 4 }}
8
- name : rayjob-editor-role
7
+ name : rayjob-viewer-role
8
+ labels :
9
+ rbac.authorization.k8s.io/aggregate-to-view : " true"
9
10
rules :
10
11
- apiGroups :
11
12
- ray.io
12
13
resources :
13
14
- rayjobs
15
+ - rayjobs/status
14
16
verbs :
15
- - create
16
- - delete
17
17
- get
18
18
- list
19
- - patch
20
- - update
21
19
- watch
20
+ ---
21
+ kind : ClusterRole
22
+ apiVersion : rbac.authorization.k8s.io/v1
23
+ metadata :
24
+ name : rayjob-editor-role
25
+ labels :
26
+ rbac.authorization.k8s.io/aggregate-to-edit : " true"
27
+ rules :
22
28
- apiGroups :
23
29
- ray.io
24
30
resources :
25
- - rayjobs/status
31
+ - rayjobs
26
32
verbs :
27
- - get
33
+ - create
34
+ - delete
35
+ - patch
36
+ - update
37
+ - deletecollection
28
38
{{- end }}
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# permissions for end users to view rayservices.
2
2
{{- if and .Values.rbacEnable (not .Values.singleNamespaceInstall) }}
3
+ ---
3
4
apiVersion : rbac.authorization.k8s.io/v1
4
5
kind : ClusterRole
5
6
metadata :
6
7
name : rayservice-viewer-role
8
+ labels :
9
+ rbac.authorization.k8s.io/aggregate-to-view : " true"
7
10
rules :
8
11
- apiGroups :
9
12
- ray.io
10
13
resources :
11
14
- rayservices
15
+ - rayservices/status
12
16
verbs :
13
17
- get
14
18
- list
15
19
- watch
20
+ ---
21
+ apiVersion : rbac.authorization.k8s.io/v1
22
+ kind : ClusterRole
23
+ metadata :
24
+ name : rayservice-editor-role
25
+ labels :
26
+ rbac.authorization.k8s.io/aggregate-to-edit : " true"
27
+ rules :
16
28
- apiGroups :
17
29
- ray.io
18
30
resources :
19
- - rayservices/status
31
+ - rayservices
20
32
verbs :
21
- - get
22
- {{- end }}
33
+ - create
34
+ - delete
35
+ - patch
36
+ - update
37
+ - deletecollection
38
+ {{- end }}
You can’t perform that action at this time.
0 commit comments