Kaynağa Gözat

chore: 配置文件中数据库地址更新

TianChenjiang 5 yıl önce
ebeveyn
işleme
bc1cb2d836

+ 1 - 0
src/main/java/cn/seecoder/paas/service/impl/EnvironmentServiceImpl.java

@@ -471,6 +471,7 @@ public class EnvironmentServiceImpl implements EnvironmentService {
                     } else {
                         ingressApi.update(ingress);
                     }
+                    System.out.println("ingress 创建" + ingress.getTls().get(0).getHosts());
                 }
             }
             // service

+ 1 - 1
src/main/resources/application.yml

@@ -2,7 +2,7 @@ server:
   port: 8080
 spring:
   datasource:
-    url: jdbc:mysql://172.19.240.15:3306/seecoder_paas?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false
+    url: jdbc:mysql://environment-1-15.seec.svc.cluster.local:3306/seecoder_paas?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false
     username: root
     password: 1qaz2wsx
   jpa: