...
1apiVersion: rbac.authorization.k8s.io/v1
2kind: ClusterRole
3metadata:
4 name: patchctl
5rules:
6- resources:
7 - jobs
8 apiGroups:
9 - batch
10 verbs:
11 - get
12 - list
13 - create
14 - patch
15 - delete
16- resources:
17 - nodes
18 apiGroups:
19 - ""
20 verbs:
21 - get
22 - list
23- resources:
24 - daemonsets
25 apiGroups:
26 - apps
27 verbs:
28 - get
29 - list
30 - watch
31- resources:
32 - ienpatches
33 apiGroups:
34 - patchmanager.edge.ncr.com
35 verbs:
36 - get
37 - list
38 - watch
39 - patch
40 - update
41- resources:
42 - customresourcedefinitions
43 apiGroups:
44 - apiextensions.k8s.io
45 verbs:
46 - get
47 - list
48 - watch
49- resources:
50 - ienpatches/status
51 apiGroups:
52 - patchmanager.edge.ncr.com
53 verbs:
54 - get
55 - patch
56 - update
57- resources:
58 - events
59 apiGroups:
60 - ""
61 verbs:
62 - create
63 - patch
View as plain text