Argo Workflows · Schema

github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.EmailTrigger

EmailTrigger refers to the specification of the email notification trigger.

CNCFContainersData ProcessingKubernetesMachine LearningOpen SourceWorkflow Engine

Properties

Name Type Description
body string
from string
host string Host refers to the smtp host url to which email is send.
parameters array
port integer
smtpPassword object
subject string
to array
username string
View JSON Schema on GitHub

JSON Schema

argo-workflows-github-com-argoproj-argo-events-pkg-apis-events-v1alpha1-email-trigger-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo-workflows/refs/heads/main/json-schema/argo-workflows-github-com-argoproj-argo-events-pkg-apis-events-v1alpha1-email-trigger-schema.json",
  "title": "github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.EmailTrigger",
  "description": "EmailTrigger refers to the specification of the email notification trigger.",
  "type": "object",
  "properties": {
    "body": {
      "type": "string",
      "title": "Body refers to the body/content of the email send.\n+optional"
    },
    "from": {
      "type": "string",
      "title": "From refers to the address from which the email is send from.\n+optional"
    },
    "host": {
      "description": "Host refers to the smtp host url to which email is send.",
      "type": "string"
    },
    "parameters": {
      "type": "array",
      "title": "Parameters is the list of key-value extracted from event's payload that are applied to\nthe trigger resource.\n+optional",
      "items": {
        "$ref": "#/definitions/github.com.argoproj.argo_events.pkg.apis.events.v1alpha1.TriggerParameter"
      }
    },
    "port": {
      "type": "integer",
      "title": "Port refers to the smtp server port to which email is send.\nDefaults to 0.\n+optional"
    },
    "smtpPassword": {
      "title": "SMTPPassword refers to the Kubernetes secret that holds the smtp password used to connect to smtp server.\n+optional",
      "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector"
    },
    "subject": {
      "type": "string",
      "title": "Subject refers to the subject line for the email send.\n+optional"
    },
    "to": {
      "type": "array",
      "title": "To refers to the email addresses to which the emails are send.\n+optional",
      "items": {
        "type": "string"
      }
    },
    "username": {
      "type": "string",
      "title": "Username refers to the username used to connect to the smtp server.\n+optional"
    }
  }
}