Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Argo Workflows and service account prereqs #1391

Merged
merged 1 commit into from
Oct 22, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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