-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Email notification support #366
Comments
Potaintail Solution/Findings:
|
We can make the sendmail catalog task as an kubeflow component.yaml. This way it can be used as exit handler or as a regular containerOp. |
@fenglixa can you give me an example for this? Can this run at the end of the pipeline or any time when a task is finished? |
I saw @Tomcli implements, that's great. One question, user need to set env from secret when compiling as below kfp-tekton/samples/exit-handler-email/send-email.py Lines 29 to 38 in d5e86d7
that's a little complicated to use/load the component, since user may just want to focus on inputs of components. Shall we wrap this in DSL, or we build a image with k8s python SDK? user just need to input secret name and we get the value in the container, no need end user to set this while compiling? I tried, seems we cannot set the env (value from secret) in component definition. Comments? @Tomcli |
/close via PR #386 |
@fenglixa: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/reopen since still question/issue on #366 (comment) |
/reopen |
@fenglixa: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I can put this helper function as part of the kfp-tekton package, but users will still need to run something like |
/kind feature
Description:
[A clear and concise description of what your proposal. What problem does it solve?]
Tekton community already has sendmail catalog: https://github.com/tektoncd/catalog/tree/master/task/sendmail, kfp-tekton community can enhance dsl to support it accordingly.
Details of the the notification requirement:
User can specify a parameter whose value you indicate at run time for the SMTP Mail server name field, Senders email address field, Recipients email address field, and Email subject field.
The Notification stage includes the following fields.
Additional information:
[Miscellaneous information that will assist in solving the issue.]
The text was updated successfully, but these errors were encountered: