Allow proxier to write events

This commit is contained in:
Jordan Liggitt 2017-01-09 23:34:30 -05:00
parent 6d3b06125e
commit c6550af702
No known key found for this signature in database
GPG Key ID: 24E7ADF9A3B42012
2 changed files with 11 additions and 0 deletions

View File

@ -219,6 +219,8 @@ func ClusterRoles() []rbac.ClusterRole {
// Used to build serviceLister
rbac.NewRule("list", "watch").Groups(legacyGroup).Resources("services", "endpoints").RuleOrDie(),
rbac.NewRule("get").Groups(legacyGroup).Resources("nodes").RuleOrDie(),
eventsRule(),
},
},
{

View File

@ -621,6 +621,15 @@ items:
- nodes
verbs:
- get
- apiGroups:
- ""
attributeRestrictions: null
resources:
- events
verbs:
- create
- patch
- update
- apiVersion: rbac.authorization.k8s.io/v1alpha1
kind: ClusterRole
metadata: