Skip to content

Commit

Permalink
docs(argo-events): Added example with debug log enabled (#1208)
Browse files Browse the repository at this point in the history
Signed-off-by: Alec Rajeev <alecinthecloud@gmail.com>

Co-authored-by: Derek Wang <whynowy@gmail.com>
  • Loading branch information
alecrajeev and whynowy committed May 10, 2021
1 parent b9fb2a2 commit cb3f20d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions examples/sensors/log-debug.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: argoproj.io/v1alpha1
kind: Sensor
metadata:
name: log
spec:
template:
container:
env:
- name: DEBUG_LOG
value: "true"
dependencies:
- name: test-dep
eventSourceName: calendar
eventName: example-with-interval
triggers:
- template:
name: log-trigger
log:
intervalSeconds: 20

0 comments on commit cb3f20d

Please sign in to comment.