Comments (9)
Going to the github webhooks settings I get:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot POST /api/webhook/github</pre>
</body>
</html>
The webhook is: https://domain.com/api/webhook/github that should be correct right?
I have SSL and all configured with cert-manager
from kubero.
No. It should be https://domain.com/api/repo/webhooks/github
Where did this webhook URL come from? Kubero CLI?
//edit: added /api/ in the URL
Via the "Connect" button when creating a new pipeline
It also added :80
to the url, with the addition of /repo/webhooks
and removing the :80
it works, Ill make a PR later today if not fixed by then :)
from kubero.
Found the config and fixed in version v0.0.158 of the operator
from kubero.
Make sure your Pipeline is connected. It works only on connected repositories, since this process installs the webhook and creates the deployment keys.
You should see the webhooks github is sending here: https://github.com/cskiwi/yourRepo/settings/hooks
from kubero.
Oh and it's also important to use SSL on your webhook endpoint. I really need to mention this in the documentation somewhere.
from kubero.
No. It should be https://domain.com/api/repo/webhooks/github
Where did this webhook URL come from? Kubero CLI?
//edit: added /api/ in the URL
from kubero.
Sure. Still reviewing all your previous PR's 😄 appreciate them.
Wondering where the :80 came from then.
I was investigating, why this path is not listed in the API docs. It seems Swaggergen is ignoring the ".all" method.
https://github.com/kubero-dev/kubero/blob/main/server/src/routes/repo.ts#L47
from kubero.
I was looking into why the webhook was wrong, but I can't seem to find where it's set.
It is using the environment variable: KUBERO_WEBHOOK_URL
But I can't seem to remember setting it, and i find nothing in the code that would define this.
from kubero.
Interesting.
My first doubt was the kubero cli was proposing the wrong URL. But seems OK.
I plan to separate the webhook URL and the rest of the UI.
from kubero.
Related Issues (20)
- [FEATURE]: Docker-compose HOT 1
- Add template Claper
- [FEATURE]: Need proper installation documentation with clear images and steps for installation HOT 1
- Add Zulip Template
- Multiple Domains per app HOT 1
- Add Metube template
- Add Template for Movim
- Add Metabase template
- [OTHER]: How to access the UI HOT 1
- Karpenter or Cluster Autoscaler Setup docs
- [BUG]: Crashing during pipeline creation
- [OTHER]: what is the ip that dns is supposed to point to? HOT 5
- [FEATURE]: Digital Ocean or Linode Managed Kubernetes Node Autoscaling
- [OTHER]: Process of Setting Kubero in an EC2 Instance
- Add template SQLpad HOT 1
- [BUG]: Kubero won't start HOT 1
- [BUG]: UI is blank HOT 5
- Struggled with Configuring DigitalOcean's Load Balancer, Now Cannot Deploy Applications, Still HOT 8
- Add template for Evershop HOT 2
- Add template for Moodist HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubero.