File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,13 @@ rules:
14
14
- get
15
15
- list
16
16
- watch
17
+ - apiGroups :
18
+ - " "
19
+ resources :
20
+ - events
21
+ verbs :
22
+ - create
23
+ - patch
17
24
- apiGroups :
18
25
- apps
19
26
resources :
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ import (
28
28
// +kubebuilder:rbac:groups=migrations.coderanger.net,resources=migrators/status,verbs=get;update;patch
29
29
// +kubebuilder:rbac:groups=batch,resources=jobs,verbs=get;list;watch;create;update;patch;delete
30
30
// +kubebuilder:rbac:groups="",resources=pods,verbs=get;list;watch
31
+ // +kubebuilder:rbac:groups="",resources=events,verbs=create;patch
31
32
// +kubebuilder:rbac:groups=apps,resources=replicasets;deployments;statfulsets;daemonsets,verbs=get;list;watch
32
33
// +kubebuilder:rbac:groups=batch,resources=cronjobs,verbs=get;list;watch
33
34
You can’t perform that action at this time.
0 commit comments