Add "get configmaps from openshift namespace" rule to expected rules
The PR adds
this rule to the defaults; so, we need to expect it as part of the
tests.
@@ -144,6 +144,7 @@ var (
rbacv1helpers.NewRule(read...).Groups(templateGroup, legacyTemplateGroup).Resources("templates").RuleOrDie(),
rbacv1helpers.NewRule(read...).Groups(imageGroup, legacyImageGroup).Resources("imagestreams", "imagestreamtags", "imagestreamimages").RuleOrDie(),
rbacv1helpers.NewRule("get").Groups(imageGroup, legacyImageGroup).Resources("imagestreams/layers").RuleOrDie(),
+ rbacv1helpers.NewRule("get").Groups("").Resources("configmaps").RuleOrDie(),
},
"openshift-config-managed": {
rbacv1helpers.NewRule("get").Groups(legacyGroup).Resources("configmaps").Names("console-public").RuleOrDie(),
