You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow osd-admin user with cluster-admins group for e2e tests
Add exemption for the osd-admin user when it has the cluster-admins group
to support OpenShift CI e2e tests. This is a targeted exemption that requires
both the specific username AND group membership.
Security rationale:
- In production OSD clusters, customers cannot arbitrarily assign users to
the cluster-admins group as it's managed by the OAuth infrastructure
- The exemption only applies when BOTH conditions are met: username is
osd-admin AND user is in cluster-admins group
- This is more restrictive than the previous blanket cluster-admins group
exemption that was removed in SREP-1565
This fixes CI test failures in openshift/origin endpoint admission tests
where the osd-admin user needs to create privileged namespaces like
kube-system for testing purposes.
0 commit comments