Skip to content

Commit 09aba2a

Browse files
committed
tests: authorization/rbac: Add restricted-v3 scc
Add "use restricted-v3 scc" to the list of expected rules for authenticated users.
1 parent 43159a2 commit 09aba2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/extended/authorization/rbac/groups_default_rules.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ var (
125125
rbacv1helpers.NewRule("list", "watch").Groups(projectGroup, legacyProjectGroup).Resources("projects").RuleOrDie(),
126126

127127
rbacv1helpers.NewRule("use").Groups(security.GroupName).Resources("securitycontextconstraints").Names("restricted-v2").RuleOrDie(),
128+
rbacv1helpers.NewRule("use").Groups(security.GroupName).Resources("securitycontextconstraints").Names("restricted-v3").RuleOrDie(),
128129

129130
// TODO: remove when openshift-apiserver has removed these
130131
rbacv1helpers.NewRule("get").URLs(

0 commit comments

Comments
 (0)