CloudEvents Target
Sends events over HTTP in CloudEvents format.
With tmctl
:
On Kubernetes:
apiVersion: targets.triggermesh.io/v1alpha1
kind: CloudEventsTarget
metadata:
name: sample
spec:
endpoint: https://external.systen/mypath
credentials:
basicAuth:
username: user
password:
# The ce-target-password secret containing a password key must exist.
valueFromSecret:
name: ce-target-password
key: password
The spec.endpoint
parameter is a destination that points to an HTTP URL that will receive the ingested CloudEvents.
If the external system requires Basic Authentication this component can be configured to use credentials by means of Kubernetes secrets.
The credentials are defined under spec.credentials.basicAuths
:
Credentials
Accepts events of any type.
See the Kubernetes object reference for more details.