Skip to content

Commit 12e82e8

Browse files
committed
policy: fix system:router permissions
1 parent 229ee35 commit 12e82e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/cmd/server/bootstrappolicy/policy.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,7 @@ func GetOpenshiftBootstrapClusterRoles() []rbac.ClusterRole {
564564
rbac.NewRule("list", "watch").Groups(kapiGroup).Resources("endpoints").RuleOrDie(),
565565
rbac.NewRule("list", "watch").Groups(kapiGroup).Resources("services").RuleOrDie(),
566566

567+
rbac.NewRule("create").Groups(kAuthnGroup).Resources("tokenreviews").RuleOrDie(),
567568
rbac.NewRule("create").Groups(kAuthzGroup).Resources("subjectaccessreviews").RuleOrDie(),
568569

569570
rbac.NewRule("list", "watch").Groups(routeGroup, legacyRouteGroup).Resources("routes").RuleOrDie(),

0 commit comments

Comments
 (0)