Unverified Commit 2154475e authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #62562 from frodenas/automated-cherry-pick-of-#62146-upstream-release-1.10

Automatic merge from submit-queue. Automated cherry pick of #62146: Fix daemon-set-controller bootstrap RBAC policy Cherry pick of #62146 on release-1.10. #62146: Fix daemon-set-controller bootstrap RBAC policy
parents f15083b1 42bfc695
......@@ -105,7 +105,7 @@ func buildControllerRoles() ([]rbac.ClusterRole, []rbac.ClusterRoleBinding) {
rbac.NewRule("list", "watch").Groups(legacyGroup).Resources("nodes").RuleOrDie(),
rbac.NewRule("list", "watch", "create", "delete", "patch").Groups(legacyGroup).Resources("pods").RuleOrDie(),
rbac.NewRule("create").Groups(legacyGroup).Resources("pods/binding").RuleOrDie(),
rbac.NewRule("list", "watch", "create", "delete", "update", "patch").Groups(appsGroup).Resources("controllerrevisions").RuleOrDie(),
rbac.NewRule("get", "list", "watch", "create", "delete", "update", "patch").Groups(appsGroup).Resources("controllerrevisions").RuleOrDie(),
eventsRule(),
},
})
......
......@@ -239,6 +239,7 @@ items:
verbs:
- create
- delete
- get
- list
- patch
- update
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment