OpenShift WebHook Unauthorized Error
Issue
- I am attempting to use a generic webhook to trigger a build in an OCP project. I am using Gitlab as the SCM tool. I have added the webhook to the project and successfully tested it from the GUI; there is a test button that returns success. When I push code, there is no build triggered in the project. I read [0] and tried using curl with a POST request command but I receive "Unauthorized".
- I haven't been able to trigger build
- I am using the appropriate url:
https://<openshift_api_host:port>/oapi/v1/namespaces/<namespace>/buildconfigs/<name>/webhooks/<secret>/generic
and still having issues with the webhook - I followed this other Knowledge Base Solution and am now seeing an
Unauthorized
error message
Environment
- OpenShift COntainer Platform 3.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.