Skip to content

Commit e02fe45

Browse files
committed
reduce permissions
1 parent b321378 commit e02fe45

File tree

3 files changed

+1
-70
lines changed

3 files changed

+1
-70
lines changed

internal/controller/bindata/daemon/02.daemon_role.yaml

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -25,40 +25,3 @@ rules:
2525
- patch
2626
- update
2727
- watch
28-
- apiGroups:
29-
- ""
30-
resources:
31-
- serviceaccounts
32-
- pods
33-
- services
34-
verbs:
35-
- get
36-
- list
37-
- watch
38-
- create
39-
- delete
40-
- update
41-
- patch
42-
- apiGroups:
43-
- rbac.authorization.k8s.io
44-
resources:
45-
- roles
46-
- rolebindings
47-
verbs:
48-
- get
49-
- list
50-
- watch
51-
- create
52-
- update
53-
- delete
54-
- apiGroups:
55-
- apps
56-
resources:
57-
- daemonsets
58-
verbs:
59-
- get
60-
- list
61-
- watch
62-
- create
63-
- update
64-
- delete

internal/controller/bindata/vsp/02.vsp_role.yaml

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -15,37 +15,9 @@ rules:
1515
- apiGroups:
1616
- ""
1717
resources:
18-
- serviceaccounts
1918
- pods
20-
- services
19+
- pods/status
2120
verbs:
2221
- get
2322
- list
2423
- watch
25-
- create
26-
- delete
27-
- update
28-
- patch
29-
- apiGroups:
30-
- rbac.authorization.k8s.io
31-
resources:
32-
- roles
33-
- rolebindings
34-
verbs:
35-
- get
36-
- list
37-
- watch
38-
- create
39-
- update
40-
- delete
41-
- apiGroups:
42-
- apps
43-
resources:
44-
- daemonsets
45-
verbs:
46-
- watch
47-
- list
48-
- get
49-
- create
50-
- delete
51-
- update

internal/controller/bindata/vsp/04.vsp_cluster_role.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,3 @@ rules:
1212
- get
1313
- list
1414
- watch
15-
- create
16-
- delete
17-
- update
18-
- patch

0 commit comments

Comments
 (0)