Skip to content

Commit 192e57e

Browse files
author
OpenShift Bot
authored
Merge pull request #13280 from miminar/allow-registry-to-get-isi-again
Merged by openshift-bot
2 parents 4cd65ea + d218210 commit 192e57e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pkg/cmd/server/bootstrappolicy/policy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ func GetBootstrapClusterRoles() []authorizationapi.ClusterRole {
664664
authorizationapi.NewRule("list").Groups(kapiGroup).Resources("limitranges", "resourcequotas").RuleOrDie(),
665665

666666
authorizationapi.NewRule("get", "delete").Groups(imageGroup).Resources("images", "imagestreamtags").RuleOrDie(),
667-
authorizationapi.NewRule("get").Groups(imageGroup).Resources("imagestreams/secrets").RuleOrDie(),
667+
authorizationapi.NewRule("get").Groups(imageGroup).Resources("imagestreamimages", "imagestreams/secrets").RuleOrDie(),
668668
authorizationapi.NewRule("get", "update").Groups(imageGroup).Resources("images", "imagestreams").RuleOrDie(),
669669
authorizationapi.NewRule("create").Groups(imageGroup).Resources("imagestreammappings").RuleOrDie(),
670670
},

test/testdata/bootstrappolicy/bootstrap_cluster_roles.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1991,6 +1991,7 @@ items:
19911991
- ""
19921992
attributeRestrictions: null
19931993
resources:
1994+
- imagestreamimages
19941995
- imagestreams/secrets
19951996
verbs:
19961997
- get

0 commit comments

Comments
 (0)