-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathlsd-role.yaml
More file actions
37 lines (37 loc) · 1.22 KB
/
lsd-role.yaml
File metadata and controls
37 lines (37 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: lsd-garak-dspa-api-access
namespace: tai-garak-lls # change this to the namespace you want to deploy to
rules:
- apiGroups: ["datasciencepipelinesapplications.opendatahub.io"]
resources: ["datasciencepipelinesapplications/api"]
verbs: ["get", "create"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: lsd-garak-dspa-api-access
namespace: tai-garak-lls # change this to the namespace you want to deploy to
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: lsd-garak-dspa-api-access
subjects:
- kind: ServiceAccount
name: llamastack-garak-distribution-sa # {lsd-name}-sa
namespace: tai-garak-lls # change this to the namespace you want to deploy to
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: lsd-garak-pipeline-management
namespace: tai-garak-lls # change this to the namespace you want to deploy to
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: ds-pipeline-dspa # ds-pipeline-{dspa-name}
subjects:
- kind: ServiceAccount
name: llamastack-garak-distribution-sa # {lsd-name}-sa
namespace: tai-garak-lls # change this to the namespace you want to deploy to