配置电子邮件通知
- 更新时间2025-12-02
- 阅读时长1分钟
按照下列步骤配置电子邮件通知。
- 打开systemlink-values.yaml。
- 将smtp.smtpServer.host设置为SMTP主机的名称或IP地址。
- 将smtp.smtpServer.port设置为SMTP端口。
- 将smtp.smtpServer.fromAddress设置为发送电子邮件的地址。
- 可选:
如果SMTP服务器需要使用凭据进行身份验证,请完成以下步骤。
- 在systemlink-values.yaml中,将smtp.smtpServer.requireAuthentication设置为true。
- 在smtp.secrets.smtpServer下的systemlink-secrets.yaml文件中添加用户名和密码。
- 可选: 如与SMTP服务器的连接需要SSL,请将smtp.smtpServer.enableSsl设置为true。
- 可选: 使用smtp.smtpServer.timeoutSeconds值配置超时,单位为秒。