This is an automated email from the ASF dual-hosted git repository.

hefengen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shenyu-website.git


The following commit(s) were added to refs/heads/main by this push:
     new d0ca1e7354 Update deployment-k8s.md (#1028)
d0ca1e7354 is described below

commit d0ca1e7354eee7af76124e48e1f052d223e47d55
Author: xiaoshun chen <cxs...@gmail.com>
AuthorDate: Fri Jul 12 19:35:01 2024 +0800

    Update deployment-k8s.md (#1028)
    
    1. Add hikari config
    2. Fix mail config error, without it, k8s admin service will start with 
error - saying No Bean JavaMailSender
---
 .../version-2.6.1/deployment/deployment-k8s.md     | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.6.1/deployment/deployment-k8s.md
 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.6.1/deployment/deployment-k8s.md
index c367c1e644..0fcc8d373a 100644
--- 
a/i18n/zh/docusaurus-plugin-content-docs/version-2.6.1/deployment/deployment-k8s.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs/version-2.6.1/deployment/deployment-k8s.md
@@ -547,6 +547,30 @@ data:
         username: {your_mysql_user}
         password: {your_mysql_password}
         driver-class-name: com.mysql.jdbc.Driver
+      hikari:
+        connection-timeout: 30000
+        minimum-idle: 5
+        maximum-pool-size: 20
+        auto-commit: true
+        idle-timeout: 600000
+        max-lifetime: 1800000
+        connection-test-query: SELECT 1
+        connection-init-sql: SET NAMES utf8mb4
+        validation-timeout: 800
+      mail:
+        # Attention: this is mail server address.
+        host: smtp.qq.com
+        username: she...@apache.com
+        # Attention: this is not email account password, this requires an 
email authorization code
+        password: your-password
+        #Attention: Tencent mail smtps 465,smtp 587
+        port: 587
+        properties:
+          mail:
+            smtp:
+              socketFactoryClass: javax.net.ssl.SSLSocketFactory
+              ssl:
+                enable: true
   shenyu-bootstrap-application.yml: |
     server:
       port: 9195

Reply via email to