01-gateway-github.yaml 338 B

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