Skip to content

iancoffey/cloudevent-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloudevent-gateway

A small service that ingests various Event sources, processes the Event based on the type, creates CloudEvents and sends the CloudEvents to a specified Sink. It is designed to be small and self-contained and depends only on core Kubernetes resources to run.

The provided example manifests allow it to be started as a Deployment.

Config

The following ENV variables exist to configure the gateway:

  • EVENTNAMES - List of event names to be interested in, ";" delimited.
  • EVENTTYPE - The type of source events the gateway should expect, defaults to github.
  • EVENT_SINK - The http endpoint to send CloudEvents to.
  • EVENT_SOURCE - The origin of the events. For github eventtype, this should be repo name in iancoffey/cloudevent-gateway format.

Installation

You can apply the current latest example with ko.

ko apply -f releases/

Note: This will create a Service of type Loadbalancer by default - this must be changed to whatever fits your deployment best (ClusterIP, NodePort, etc).

Releasing

The release is generated from the contents of config/.

ko resolve -f config/ > releases/cloudevent-gateway-current.yaml

About

A small, generic cloudevent gateway.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published