- Conditions are boolean expressions referencing dependency names defined in the sensor’s
dependencieslist. - Supported operators: && (AND), || (OR). Parentheses are supported for grouping.
- If a trigger template omits
conditions, it defaults to requiring all dependencies (implicit AND across all declared dependencies).
Simple example: sensor with three dependencies and three triggers
conditions: "dep02"— trigger runs when dependencydep02is satisfied.conditions: "dep02 && dep03"— trigger runs when bothdep02anddep03are satisfied.conditions: "(dep01 || dep02) && dep03"— trigger runs whendep03is satisfied and at least one ofdep01ordep02is satisfied.
hello-workflow-triggersubmits an Argo Workflow and only fires when the MinIO dependency is satisfied.http-triggerposts to an external HTTP endpoint and fires when either dependency is satisfied.
- The workflow trigger sets
serviceAccountName: workflow-trigger-sa. That service account must have RBAC permissions (Role/ClusterRole and corresponding RoleBinding/ClusterRoleBinding) that allow creating Workflows in theargonamespace. - If the trigger uses the default service account (or a service account lacking permissions), the Workflow creation will fail with a permission error.
- Expose the webhook event source locally (port-forward) and send a test event:
- Create a MinIO credentials secret in the
argo-eventsnamespace:
- Trigger the external HTTP endpoint used by the HTTP trigger (example using httpdump):
- Successful HTTP trigger logs (example):
- RBAC/permission error for Workflow trigger (example):
- Ensure the trigger template includes
serviceAccountName(as shown in the sensor YAML). - Grant that service account the necessary RBAC roles to create Workflows in the target namespace.


- Use dependency names inside
conditionsexpressions to control trigger execution. - Use && and || to combine dependency conditions; parentheses support grouping.
- If
conditionsis omitted, all sensor dependencies must be satisfied (implicit AND). - For Argo Workflow triggers, set
serviceAccountNameand ensure the service account has RBAC permissions to create Workflows in the target namespace.
Tip: When testing triggers, inspect sensor logs (kubectl -n <ns> logs <sensor-pod>) to see why a trigger did or didn’t execute. Permission errors and missing dependency events are common causes for trigger failures.