From 69f36431904d170a5e3ba9b740361ccb405b521e Mon Sep 17 00:00:00 2001 From: Alec Rajeev Date: Fri, 7 May 2021 22:23:09 -0400 Subject: [PATCH] docs(argo-events): Added example with debug log enabled Signed-off-by: Alec Rajeev --- examples/sensors/log-debug.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 examples/sensors/log-debug.yaml diff --git a/examples/sensors/log-debug.yaml b/examples/sensors/log-debug.yaml new file mode 100644 index 0000000000..6d57a136b4 --- /dev/null +++ b/examples/sensors/log-debug.yaml @@ -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