Skip to content

Commit

Permalink
Update resource.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
VaibhavPage authored Mar 22, 2020
1 parent 6a98b19 commit 828a62d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/event-sources/resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ metadata:
spec:
type: "resource"
resource:
# watch workflows that are in successful state
example:
# namespace to listen events within
namespace: "argo-events"
Expand All @@ -18,12 +17,11 @@ spec:
# type of event
# possible values are ADD, DELETE, UPDATE
# Optional
eventType: UPDATE
eventType: ADD
# Filters to apply on watched object
# Optional
filter:
labels:
workflows.argoproj.io/phase: Succeeded
app: "my-workflow"

# # create event if workflow with prefix "my-workflow" gets modified
Expand Down

0 comments on commit 828a62d

Please sign in to comment.