github.com/argoproj/argo-events@v1.9.1/examples/sensors/trigger-source-file.yaml (about) 1 apiVersion: argoproj.io/v1alpha1 2 kind: Sensor 3 metadata: 4 name: webhook 5 spec: 6 template: 7 container: 8 volumeMounts: 9 - mountPath: /workflows/hello_world.yaml 10 name: workflow-file 11 volumes: 12 - name: workflow-file 13 configMap: 14 name: configmap-that-contains-the-workflow-definition 15 serviceAccountName: operate-workflow-sa 16 dependencies: 17 - name: test-dep 18 eventSourceName: webhook 19 eventName: example 20 triggers: 21 - template: 22 name: file-workflow-trigger 23 k8s: 24 operation: create 25 source: 26 file: 27 path: /workflows/hello_world.yaml