-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcluster_role.yaml
More file actions
77 lines (77 loc) · 2.95 KB
/
cluster_role.yaml
File metadata and controls
77 lines (77 loc) · 2.95 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
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
65
66
67
68
69
70
71
72
73
74
75
76
77
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: open-cluster-management:cluster-auth:addon-manager
rules:
- apiGroups: [""]
resources: ["configmaps", "events", "namespaces", "secrets", "serviceaccounts", "serviceaccounts/finalizers"]
verbs: ["get", "list", "watch", "create", "update", "delete", "deletecollection", "patch"]
- apiGroups: ["coordination.k8s.io"]
resources: ["leases"]
verbs: ["get", "list", "watch", "create", "update", "patch"]
- apiGroups: ["authorization.k8s.io"]
resources: ["subjectaccessreviews"]
verbs: ["get", "create"]
- apiGroups: ["certificates.k8s.io"]
resources: ["certificatesigningrequests", "certificatesigningrequests/approval"]
verbs: ["get", "list", "watch", "create", "update"]
- apiGroups: ["certificates.k8s.io"]
resources: ["signers"]
verbs: ["approve"]
- apiGroups: ["cluster.open-cluster-management.io"]
resources: ["managedclusters"]
verbs: ["get", "list", "watch"]
- apiGroups: ["work.open-cluster-management.io"]
resources: ["manifestworks"]
verbs: ["create", "update", "get", "list", "watch", "delete", "deletecollection", "patch"]
- apiGroups: ["addon.open-cluster-management.io"]
resources: ["managedclusteraddons/finalizers"]
verbs: ["update"]
- apiGroups: [ "addon.open-cluster-management.io" ]
resources: [ "clustermanagementaddons/finalizers" ]
verbs: [ "update" ]
- apiGroups: ["addon.open-cluster-management.io"]
resources: ["clustermanagementaddons/status"]
verbs: ["update", "patch"]
- apiGroups: ["addon.open-cluster-management.io"]
resources: ["clustermanagementaddons"]
verbs: ["get", "list", "watch", "patch"]
- apiGroups: ["addon.open-cluster-management.io"]
resources: ["managedclusteraddons"]
verbs: ["get", "list", "watch", "create", "update", "delete"]
- apiGroups: ["addon.open-cluster-management.io"]
resources: ["managedclusteraddons/status"]
verbs: ["update", "patch"]
- apiGroups: ["addon.open-cluster-management.io"]
resources: ["addondeploymentconfigs"]
verbs: ["get", "list", "watch"]
- apiGroups: [ "cluster.open-cluster-management.io" ]
resources: [ "managedclustersets" ]
verbs: [ "get", "list", "watch" ]
# cluster gateway
- apiGroups: [ "gateway.open-cluster-management.io" ]
resources:
- "clustergateways/health"
- "clustergateways/proxy"
verbs: [ "*" ]
- apiGroups: [ "authorization.k8s.appscode.com" ]
resources:
- "managedclustersetrolebindings"
- "managedclusterrolebindings"
- "managedclusterroles"
verbs: [ "*" ]
- apiGroups: [ "authentication.open-cluster-management.io" ]
resources:
- "managedserviceaccounts"
verbs: [ "*" ]
- apiGroups:
- rbac.authorization.k8s.io
resources:
- clusterroles
- clusterrolebindings
- roles
- rolebindings
verbs: [ "*" ]
- apiGroups: [ "authentication.k8s.appscode.com" ]
resources: [ "*" ]
verbs: [ "*" ]