File tree Expand file tree Collapse file tree 5 files changed +86
-28
lines changed
Expand file tree Collapse file tree 5 files changed +86
-28
lines changed Original file line number Diff line number Diff line change @@ -19,3 +19,5 @@ resources:
1919- auth_proxy_role.yaml
2020- auth_proxy_role_binding.yaml
2121- auth_proxy_client_clusterrole.yaml
22+ - llsd_viewer_role.yaml
23+ - llsd_editor_role.yaml
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ # permissions for end users to edit LlamaStackDistributions.
2+ apiVersion : rbac.authorization.k8s.io/v1
3+ kind : ClusterRole
4+ metadata :
5+ name : llsd-editor-role
6+ labels :
7+ rbac.authorization.k8s.io/aggregate-to-edit : " true"
8+ rbac.authorization.k8s.io/aggregate-to-admin : " true"
9+ rules :
10+ - apiGroups :
11+ - llamastack.io
12+ resources :
13+ - llamastackdistributions
14+ verbs :
15+ - create
16+ - delete
17+ - get
18+ - list
19+ - patch
20+ - update
21+ - watch
22+ - apiGroups :
23+ - llamastack.io
24+ resources :
25+ - llamastackdistributions/status
26+ verbs :
27+ - get
Original file line number Diff line number Diff line change 1- # permissions for end users to edit llamastacks .
1+ # permissions for end users to view LlamaStackDistributions .
22apiVersion : rbac.authorization.k8s.io/v1
33kind : ClusterRole
44metadata :
5- name : llamastack-editor-role
5+ name : llsd-viewer-role
6+ labels :
7+ rbac.authorization.k8s.io/aggregate-to-view : " true"
68rules :
79- apiGroups :
810 - llamastack.io
911 resources :
10- - llamastacks
12+ - llamastackdistributions
1113 verbs :
12- - create
13- - delete
1414 - get
1515 - list
16- - patch
17- - update
1816 - watch
1917- apiGroups :
2018 - llamastack.io
2119 resources :
22- - llamastacks /status
20+ - llamastackdistributions /status
2321 verbs :
2422 - get
Original file line number Diff line number Diff line change @@ -2265,6 +2265,57 @@ rules:
22652265---
22662266apiVersion : rbac.authorization.k8s.io/v1
22672267kind : ClusterRole
2268+ metadata :
2269+ labels :
2270+ app.kubernetes.io/name : llama-stack-k8s-operator
2271+ rbac.authorization.k8s.io/aggregate-to-admin : " true"
2272+ rbac.authorization.k8s.io/aggregate-to-edit : " true"
2273+ name : llama-stack-k8s-operator-llsd-editor-role
2274+ rules :
2275+ - apiGroups :
2276+ - llamastack.io
2277+ resources :
2278+ - llamastackdistributions
2279+ verbs :
2280+ - create
2281+ - delete
2282+ - get
2283+ - list
2284+ - patch
2285+ - update
2286+ - watch
2287+ - apiGroups :
2288+ - llamastack.io
2289+ resources :
2290+ - llamastackdistributions/status
2291+ verbs :
2292+ - get
2293+ ---
2294+ apiVersion : rbac.authorization.k8s.io/v1
2295+ kind : ClusterRole
2296+ metadata :
2297+ labels :
2298+ app.kubernetes.io/name : llama-stack-k8s-operator
2299+ rbac.authorization.k8s.io/aggregate-to-view : " true"
2300+ name : llama-stack-k8s-operator-llsd-viewer-role
2301+ rules :
2302+ - apiGroups :
2303+ - llamastack.io
2304+ resources :
2305+ - llamastackdistributions
2306+ verbs :
2307+ - get
2308+ - list
2309+ - watch
2310+ - apiGroups :
2311+ - llamastack.io
2312+ resources :
2313+ - llamastackdistributions/status
2314+ verbs :
2315+ - get
2316+ ---
2317+ apiVersion : rbac.authorization.k8s.io/v1
2318+ kind : ClusterRole
22682319metadata :
22692320 labels :
22702321 app.kubernetes.io/name : llama-stack-k8s-operator
You can’t perform that action at this time.
0 commit comments