Skip to content

Commit

Permalink
docs: Argo Workflows and service account prereqs (#1391)
Browse files Browse the repository at this point in the history
Signed-off-by: Jesse Antoszyk <[email protected]>
  • Loading branch information
jcantosz authored Oct 22, 2021
1 parent 5443cef commit 2251760
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/sensors/triggers/argo-workflow.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Argo Workflow Trigger

Argo workflow is K8s custom resource which help orchestrating parallel jobs on Kubernetes.
Argo workflow is K8s custom resource which help orchestrating parallel jobs on Kubernetes.

<br/>
<br/>
Expand All @@ -13,11 +13,16 @@ Argo workflow is K8s custom resource which help orchestrating parallel jobs on K
<br/>

## Trigger a workflow
Note: You will need to have [Argo Workflows](https://argoproj.github.io/argo-workflows/) installed to make this work.

1. Make sure to have the eventbus deployed in the namespace.

1. We will use webhook event-source and sensor to trigger an Argo workflow.

1. Set up the `operate-workflow-sa` service account that the sensor will use

kubectl apply -n argo-events -f https://raw.githubusercontent.com/argoproj/argo-events/master/examples/rbac/sensor-rbac.yaml

1. Let's set up a webhook event-source to process incoming requests.

kubectl apply -n argo-events -f https://raw.githubusercontent.com/argoproj/argo-events/stable/examples/event-sources/webhook.yaml
Expand Down

0 comments on commit 2251760

Please sign in to comment.