Skip to content

Triggering an existing argo workflow from a kafka sensor #1032

Answered by whynowy
oscarusuga asked this question in Q&A
Discussion options

You must be logged in to vote

Do you mean resubmit a workflow? If that the case, use something like:

  triggers:
    - template:
        name: argo-workflow-trigger
        argoWorkflow:
          group: argoproj.io
          version: v1alpha1
          resource: workflows
          operation: resubmit
          source:
            resource:
              apiVersion: argoproj.io/v1alpha1
              kind: Workflow
              metadata:
                name: your-workflow-name
              spec:
                xxx

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@oscarusuga
Comment options

@whynowy
Comment options

Answer selected by oscarusuga
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants