github.com/argoproj/argo-events@v1.9.1/examples/sensors/time-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 filters: 13 time: 14 start: "22:14:05" 15 stop: "23:04:05" 16 - name: test-another-dep 17 eventSourceName: webhook 18 eventName: example1 19 filters: 20 time: 21 # start > stop, stop is treated as next day of start, 22 # so in this case, events can pass only during 50 minutes from 23:34:05 23 start: "23:34:05" 24 stop: "00:24:05" # == "24:24:05" 25 triggers: 26 - template: 27 name: hello-world-workflow-trigger 28 k8s: 29 operation: create 30 source: 31 resource: 32 apiVersion: argoproj.io/v1alpha1 33 kind: Workflow 34 metadata: 35 generateName: time-filter-hello-world- 36 spec: 37 entrypoint: whalesay 38 templates: 39 - 40 container: 41 args: 42 - "hello world" 43 command: 44 - cowsay 45 image: "docker/whalesay:latest" 46 name: whalesay