File tree Expand file tree Collapse file tree 2 files changed +1
-18
lines changed Expand file tree Collapse file tree 2 files changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -324,8 +324,6 @@ post_apply:
324
324
- name : role-sync-controller
325
325
kind : CronJob
326
326
namespace : kube-system
327
- - name : role-sync-controller
328
- kind : ClusterRole
329
327
- name : role-sync-controller
330
328
kind : ClusterRoleBinding
331
329
- name : role-sync-controller
Original file line number Diff line number Diff line change 1
1
{{ if eq .Cluster.ConfigItems.role_sync_controller_enabled "true" }}
2
2
apiVersion : rbac.authorization.k8s.io/v1
3
- kind : ClusterRole
4
- metadata :
5
- name : role-sync-controller
6
- labels :
7
- application : kubernetes
8
- component : role-sync-controller
9
- rules :
10
- - apiGroups : [""]
11
- resources : ["namespaces"]
12
- verbs : ["list"]
13
- - apiGroups : ["rbac.authorization.k8s.io"]
14
- resources : ["rolebindings"]
15
- verbs : ["get", "create", "update"]
16
- ---
17
- apiVersion : rbac.authorization.k8s.io/v1
18
3
kind : ClusterRoleBinding
19
4
metadata :
20
5
name : role-sync-controller
@@ -24,7 +9,7 @@ metadata:
24
9
roleRef :
25
10
apiGroup : rbac.authorization.k8s.io
26
11
kind : ClusterRole
27
- name : role-sync-controller
12
+ name : poweruser
28
13
subjects :
29
14
- kind : ServiceAccount
30
15
name : role-sync-controller
You can’t perform that action at this time.
0 commit comments