konflux-ci / architecture

Technical and Architecture documents
https://konflux-ci.dev/architecture/
18 stars 67 forks source link

Create an ADR to install knative-eventing as part of the Konflux infrastructure #201

Closed skoved closed 2 months ago

skoved commented 2 months ago

Konflux may integrate with KubeArchive in the future. To ensure that this integration is smooth, Konflux should install knative-eventing when it deploys to a cluster.

Unlike Tekton Results, which uses watchers to track when resuorces on the cluster change state, KubeArchive uses pub sub to get notified when resources on the cluster change state. KubeArchive uses ApiServerSource from knative-eventing to create cloudevents when kubernetes objects change state on the cluster. These cloudevents contain the definition of the Kubernetes object that they refer to. KubeArchive subscribes to these cloudevents and writes the Kuberenetes object definition contained in the cloudevent to a PostgreSQL database.

skoved commented 2 months ago

This was the wrong way to propose an ADR. I created #202 to submit the proposed ADR instead