From f54a97ef7b103f03d558fd24f8540d0fd56c68ee Mon Sep 17 00:00:00 2001 From: Marc Campbell Date: Thu, 30 Apr 2020 17:44:42 -0700 Subject: [PATCH] Add missing RBAC roles to generated installer --- pkg/installer/rbac.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/pkg/installer/rbac.go b/pkg/installer/rbac.go index e0f5aaa1c..087b59b69 100644 --- a/pkg/installer/rbac.go +++ b/pkg/installer/rbac.go @@ -59,6 +59,21 @@ func clusterRole() *rbacv1.ClusterRole { Resources: []string{"deployments/status"}, Verbs: metav1.Verbs{"get", "update", "patch"}, }, + { + APIGroups: []string{""}, + Resources: []string{"pods"}, + Verbs: metav1.Verbs{"get", "list", "watch", "create", "update", "patch", "delete"}, + }, + { + APIGroups: []string{""}, + Resources: []string{"pods/log"}, + Verbs: metav1.Verbs{"get"}, + }, + { + APIGroups: []string{""}, + Resources: []string{"configmaps"}, + Verbs: metav1.Verbs{"get", "list", "watch", "create", "update", "patch", "delete"}, + }, { APIGroups: []string{""}, Resources: []string{"secrets"},