-
Notifications
You must be signed in to change notification settings - Fork 0
/
resources.yaml
64 lines (64 loc) · 1.52 KB
/
resources.yaml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
apiVersion: v1
kind: Namespace
metadata:
name: kubeflow-extension
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: role-for-kubeflow-extension
rules:
- apiGroups: [""] # "" indicates the core API group
resources: ["namespaces"]
verbs: ["get", "watch", "list"]
- apiGroups: ["kubeflow.org"]
resources: ["profiles"]
verbs: ["get", "list"]
- apiGroups: ["networking.istio.io"]
resources: ["envoyfilters"]
verbs: ["get", "list", "create"]
- apiGroups: ["rbac.istio.io"]
resources: ["servicerolebindings"]
verbs: ["create", "get", "list", "delete"]
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: kubeflow-extension-default-rolebinding
roleRef:
kind: ClusterRole
name: role-for-kubeflow-extension
apiGroup: rbac.authorization.k8s.io
subjects:
- kind: ServiceAccount
apiGroup: ""
name: default
namespace: kubeflow-extension
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: rb-all-sa_ns-kubeflow-extension
namespace: kubeflow-extension
roleRef:
kind: ClusterRole
name: psp:vmware-system-privileged
apiGroup: rbac.authorization.k8s.io
subjects:
- kind: ServiceAccount
apiGroup: ""
name: default
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
rbac.authorization.kubeflow.org/aggregate-to-kubeflow-edit: "true"
name: kubeflow-argo-access
rules:
- apiGroups:
- argoproj.io
resources:
- 'workflows'
verbs:
- get