-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about first deployment in k8s #38
Comments
Hi, sorry, I will try to add better docs: apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: kobold-ingress
spec:
ingressClassName: nginx
rules:
- host: "kobold.apps.ip-bla-blal.link"
http:
paths:
- path: /events
pathType: Exact
backend:
service:
name: kobold-webhook
port:
number: 80
- path: /
pathType: Prefix
backend:
service:
name: kobold-api
port:
number: 80 It should be something like this. And then you send events to Yes, you can set up webhooks on dockerhub. But docker hub doesn't include the digest. Also note that you need to take care of protecting the endpoints. I.e. you can use your ingress controller to use basic auth. |
Thanks a lot for rapid answer! I've managed to receive webhooks. But still I'm trying to emulate how kobold can change tags. I've created connection to our gitlab. Also I've done some annotations to my deployment.yaml:
And I'm trying to send synthetic webhook like
Pretend kobold recieved data that new image was pushed and still I receive nothing
My config is:
Am I doing smth wrong and how can I check if it is changing my tags? Mucр appreciate your answer |
Your supplied version doesn't meet the constraint https://go.dev/play/p/XTjhdq2oyTO. |
Thanks a lot! You helped me so much |
Hello.
I've deployed kobold in k8s cluster using file
Also I added there ingress, but no changes for creds or configs were made:
address kobold.apps.ip-bla-blal.link/api/docs is working for me
But curling kobold.apps.ip-bla-blal.link/webhook returns 404
Also I didn't find any services for metrics to be exposed, despite there is a descripton in README
Can you please tell me some things:
The text was updated successfully, but these errors were encountered: