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.
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 myprojectwhich 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 myprojectbut still, the regular user does not have permission to use the
createverb.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.