0:10

📚 / Concepts / Reactor

Status checking reactor

A Reactor describes what should happen after the execution of a Unit.

Example:

---
apiVersion: kubirds.com/v1
kind: Reactor
metadata:
  name: notify-slack
spec:
  unitSelector:
    notify-slack: "yes"
  image:
    name: ghcr.io/link-society/kubirds-reactor-slack:latest
    pullPolicy: Always
    command: notify-slack
  envFrom:
    - secretRef:
        name: my-slack-credentials