github.com/argoproj/argo-events@v1.9.1/examples/sensors/context-filter-webhook.yaml (about) 1 apiVersion: argoproj.io/v1alpha1 2 kind: Sensor 3 metadata: 4 name: webhook 5 spec: 6 template: 7 serviceAccountName: operate-workflow-sa 8 dependencies: 9 - name: test-dep 10 eventSourceName: webhook 11 eventName: example 12 # The filter is applied on the context of the event. 13 # The trigger will be executed only of the event passes the filter 14 filters: 15 context: 16 source: webhook 17 subject: example 18 datacontenttype: application/json 19 triggers: 20 - template: 21 name: done-workflow 22 k8s: 23 operation: create 24 source: 25 s3: 26 bucket: 27 name: workflows 28 key: hello-world.yaml 29 endpoint: minio-service.argo-events:9000 30 insecure: true 31 accessKey: 32 key: accesskey 33 name: artifacts-minio 34 secretKey: 35 key: secretkey 36 name: artifacts-minio