File tree Expand file tree Collapse file tree 1 file changed +33
-19
lines changed Expand file tree Collapse file tree 1 file changed +33
-19
lines changed Original file line number Diff line number Diff line change @@ -6,18 +6,6 @@ metadata:
66 labels :
77{{ include "k8s-event-logger-operator.labels" . | nindent 4 }}
88rules :
9- - apiGroups :
10- - " "
11- resources :
12- - configmaps
13- verbs :
14- - get
15- - list
16- - watch
17- - create
18- - update
19- - patch
20- - delete
219 - apiGroups :
2210 - " "
2311 resources :
@@ -26,13 +14,6 @@ rules:
2614 - get
2715 - update
2816 - patch
29- - apiGroups :
30- - " "
31- resources :
32- - events
33- verbs :
34- - create
35- - patch
3617 - apiGroups :
3718 - apps
3819 resources :
@@ -67,4 +48,37 @@ rules:
6748 - ' *'
6849 verbs :
6950 - ' *'
51+ # start leader election
52+ - apiGroups :
53+ - " "
54+ resources :
55+ - configmaps
56+ verbs :
57+ - get
58+ - list
59+ - watch
60+ - create
61+ - update
62+ - patch
63+ - delete
64+ - apiGroups :
65+ - coordination.k8s.io
66+ resources :
67+ - leases
68+ verbs :
69+ - get
70+ - list
71+ - watch
72+ - create
73+ - update
74+ - patch
75+ - delete
76+ - apiGroups :
77+ - " "
78+ resources :
79+ - events
80+ verbs :
81+ - create
82+ - patch
83+ # end leader election
7084{{- end -}}
You can’t perform that action at this time.
0 commit comments