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>/genericand still having issues with the webhook - I followed this other Knowledge Base Solution and am now seeing an
Unauthorizederror message
Environment
- OpenShift COntainer Platform 3.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
