argo-events

by QuenchWorks

Helm chartv0.0.19App 1.9.11Apache-2.0Verified publisher

Argo Events, event-driven automation for Kubernetes: EventSources (webhooks, queues, schedules, cloud events), Sensors that trigger workflows, resources and HTTP calls, and the JetStream EventBus between them. Hardened by QuenchWorks, nonroot, CVE-gated, cosign-signed and pinned by digest.

About this chart

Argo Events

Argo Events is event-driven automation for Kubernetes. EventSources receive or poll events (webhooks, queues, schedules, cloud events), Sensors wait on them and run triggers (Argo Workflows, any Kubernetes resource, HTTP calls), and an EventBus carries events between them. This chart runs the controller on the QuenchWorks argo-events image, which also carries the argo CLI for the argoWorkflow trigger. The image is nonroot, 0 fixable CVEs, cosign-signed and pinned by digest.

Install

helm install argo-events oci://ghcr.io/quenchworks/charts/argo-events -n argo-events --create-namespace

Then an EventBus in each namespace that runs EventSources and Sensors:

apiVersion: argoproj.io/v1alpha1
kind: EventBus
metadata: { name: default }
spec:
  jetstream:
    version: latest
    securityContext: { fsGroup: 1001 }   # the QuenchWorks nats image runs as uid 1001

EventBus images

The controller builds JetStream EventBus pods from eventBus.jetstream: the QuenchWorks nats, nats-server-config-reloader and prometheus-nats-exporter images, pinned by digest. All three run as uid 1001, which is why the EventBus sets fsGroup: 1001.

The CRDs ship in crds/, which Helm applies on the first install only; apply them with kubectl apply --server-side -f crds/ before upgrading across app versions.

Values

KeyDefaultMeaning
namespacedfalsewatch only the release namespace (a Role instead of a ClusterRole)
eventBus.jetstream.*see valuesimages and settings for JetStream EventBus pods
rbac.aggregateToDefaultRolestruelet admin, edit and view manage the Argo Events kinds
replicas1leader election keeps one active

Sensors that create Kubernetes resources run as spec.template.serviceAccountName, which needs its own RBAC. Pods run with a read-only root filesystem and all capabilities dropped.

The release gate installs the chart on kind, creates a JetStream EventBus that must run only QuenchWorks images, a webhook EventSource and a Sensor with a Kubernetes trigger, posts to the webhook, and requires the trigger to create its ConfigMap.

The chart depends on the quench-common chart from oci://ghcr.io/quenchworks/charts.

Deploy argo-events with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has argo-events on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartargo-events is pinned at v0.0.19 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply