Unauthenticated users not able to trigger builds using webhooks
Issue
-
Unauthenticated users not able to trigger builds using webhooks and facing the below mentioned error:
{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"buildconfigs.build.openshift.io \"master\" is forbidden: User \"system:anonymous\" cannot create resource \"buildconfigs/webhooks\" in API group \"build.openshift.io\" in the namespace \"test-builds\"","reason":"Forbidden","details":{"name":"master","group":"build.openshift.io","kind":"buildconfigs"},"code":403}
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.