Skip to content

Commit

Permalink
bootstrappolicy: add SARs to AggregatedViewRoleName
Browse files Browse the repository at this point in the history
  • Loading branch information
ibihim committed Apr 24, 2024
1 parent 5f66eee commit cf0c88f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/bootstrappolicy/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,9 @@ func GetOpenshiftBootstrapClusterRoles() []rbacv1.ClusterRole {

rbacv1helpers.NewRule(read...).Groups(templateGroup, legacyTemplateGroup).Resources("templates", "templateconfigs", "processedtemplates", "templateinstances").RuleOrDie(),

// after dropping unauthenticated groups
rbacv1helpers.NewRule("create").Groups(authzGroup, legacyAuthzGroup).Resources("localsubjectaccessreviews", "subjectrulesreviews").RuleOrDie(),

// backwards compatibility
rbacv1helpers.NewRule(read...).Groups(buildGroup, legacyBuildGroup).Resources("buildlogs").RuleOrDie(),
rbacv1helpers.NewRule(read...).Groups(kapiGroup).Resources("resourcequotausages").RuleOrDie(),
Expand Down

0 comments on commit cf0c88f

Please sign in to comment.