Skip to content

Introduce a way how to run the e2e TS without admin permissions #5357

@mvinkler

Description

@mvinkler

Problem
At this point, it is not possible to run eventing e2e TS with a regular user on Openshift. The problem is IMO usage of Kubernetes events.

Right now, each test creates a service account, a role and rolebinding for event logging. The role has two policy rules.
Second rule is similar to
oc create role testrole --verb=* --resource=events -n myproject
which is not possible with regular user.
I found out this rule could be narrowed down to
oc create role testrole --verb=create,get,list,watch --resource=events -n myproject
but still, the regular user does not have permission to use the create verb.

Persona:
Which persona is this feature for?

Exit Criteria
The eventing e2e TS can be run with a regular user account.

Additional context (optional)
This feature is specifically needed in order to validate eventing functionality on Openshift Dedicated cluster, using a regular user account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/test-and-releaseTest infrastructure, tests or releasekind/feature-requestpriority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions