Skip to content

Commit

Permalink
Add missing RBAC roles to generated installer
Browse files Browse the repository at this point in the history
  • Loading branch information
marccampbell committed May 1, 2020
1 parent 841b9e8 commit f54a97e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions pkg/installer/rbac.go
Expand Up @@ -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"},
Expand Down

0 comments on commit f54a97e

Please sign in to comment.