010-gateway-github.yaml 363 B

123456789101112131415161718
  1. apiVersion: argoproj.io/v1alpha1
  2. kind: Gateway
  3. metadata:
  4. name: github
  5. namespace: argo-events
  6. spec:
  7. type: github
  8. eventSourceRef:
  9. name: github-event-source
  10. template:
  11. serviceAccountName: argo-events-sa
  12. service:
  13. ports:
  14. - port: 12000
  15. targetPort: 12000
  16. subscribers:
  17. http:
  18. - "http://github-sensor.argo-events.svc:9300/"