From 0de1d741b59cc108fe6ed20b54fe5e3eba9fd1dc Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Fri, 30 Mar 2018 22:02:09 -0700 Subject: [PATCH] Add RBAC for events (#961) --- pkg/ingress/rbac.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/ingress/rbac.go b/pkg/ingress/rbac.go index dfce60874..49d63955d 100644 --- a/pkg/ingress/rbac.go +++ b/pkg/ingress/rbac.go @@ -132,6 +132,11 @@ func (c *controller) reconcileRoles() (kutil.VerbType, error) { Resources: []string{"ingresses"}, Verbs: []string{"get", "list", "watch"}, }, + { + APIGroups: []string{core.GroupName}, + Resources: []string{"events"}, + Verbs: []string{"create"}, + }, } return in })