argo-events
argo-events copied to clipboard
Support notifications in the sensor.
Is your feature request related to a problem? Please describe. Send notifications when a sensor executes a trigger.
Describe the solution you'd like
Add a notifications
field to the trigger template as -
notifications:
# optional
# if not specified, send notification on both conditions
when:
- onSuccess
- onError
raiseK8sEvent: true
email:
email-config-key: email-config-value
slack:
slack-config-key: slack-config-value
opsgenie:
opsgenie-config-key: opsgenie-config-value
parameters:
- src:
dependencyName: test-dep
dataKey: metadata.username
dest: email.username
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.
Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.