You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I have errors in connecting my github event source to the sensor (shown in the argo events ui), following the instructions in
https://argoproj.github.io/argo-events/eventsources/setup/github/
Webhook was created in my github account, however there is error "We couldn’t deliver this payload: failed to connect to host"
My Event Source manifest file is as follow :
apiVersion: argoproj.io/v1alpha1
kind: EventSource
metadata:
name: github
namespace: argo-events
spec:
service:
ports:
- name: example
port: 12000
targetPort: 12000
github:
example:
repositories:
- owner: github-user
names:
- argoevent
webhook:
endpoint: /argoevents
port: "12000"
method: POST
url: http://x.x.x.x.nip.io
events:
- "*"
apiToken:
name: github-access
key: token
insecure: true
active: true
contentType: json
My Ingress manifest :
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: github
namespace: argo-events
annotations:
kubernetes.io/ingress.class: gce
spec:
rules:
- http:
paths:
- path: /*
backend:
serviceName: github-eventsource-svc
servicePort: 12000
host: x.x.x.x.nip.io
In the sensor yaml :
apiVersion: argoproj.io/v1alpha1
kind: Sensor
metadata:
name: webhook
namespace: argo-events
spec:
template:
serviceAccountName: argo-events-sa
dependencies:
- name: test-dep
eventSourceName: webhook
eventName: example
...
Not sure if the ingress is the issue or there are some other issue. Thanks for any help.
Beta Was this translation helpful? Give feedback.
All reactions